AbstractCacheCommandTest.php 872 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Backend\Test\Unit\Console\Command;
  7. use Magento\Backend\Console\Command\AbstractCacheManageCommand;
  8. abstract class AbstractCacheCommandTest extends \PHPUnit\Framework\TestCase
  9. {
  10. /**
  11. * @var \Magento\Framework\App\Cache\Manager|\PHPUnit_Framework_MockObject_MockObject
  12. */
  13. protected $cacheManagerMock;
  14. /**
  15. * @var AbstractCacheManageCommand
  16. */
  17. protected $command;
  18. protected function setUp()
  19. {
  20. $this->cacheManagerMock = $this->createMock(\Magento\Framework\App\Cache\Manager::class);
  21. }
  22. /**
  23. * Formats expected output for testExecute data providers
  24. *
  25. * @param array $types
  26. * @return string
  27. */
  28. abstract public function getExpectedExecutionOutput(array $types);
  29. }