| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class FlushCacheTest extends TestCase |
||
| 13 | { |
||
| 14 | private FlushCache $sut; |
||
| 15 | |||
| 16 | /** @var CacheManager|MockObject */ |
||
| 17 | private $cacheManagerMock; |
||
| 18 | |||
| 19 | public function setUp(): void |
||
| 20 | { |
||
| 21 | $this->cacheManagerMock = $this->getMockBuilder(CacheManager::class) |
||
| 22 | ->disableOriginalConstructor() |
||
| 23 | ->getMock(); |
||
| 24 | |||
| 25 | $this->sut = new FlushCache($this->cacheManagerMock); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function testExecuteFlushesCache() |
||
| 38 | } |
||
| 39 | } |
||
| 40 |