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