Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | public function testExecuteFlushesCache(): void |
||
30 | { |
||
31 | $responseMock = $this->getMockBuilder(IResponse::class) |
||
32 | ->disableOriginalConstructor() |
||
33 | ->getMock(); |
||
34 | |||
35 | $this->cacheManagerMock->expects($this->atLeastOnce())->method('flush'); |
||
36 | $responseMock->expects($this->atLeastOnce())->method('writeln'); |
||
37 | |||
38 | $this->sut->execute($responseMock); |
||
39 | } |
||
41 |