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