| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 35 | public function testReceivePurgesCacheForContent($signal) |
||
| 36 | { |
||
| 37 | $this->cachePurgerMock->expects($this->once())->method('purgeForContent')->with(self::getContentId(), self::getLocationIds()); |
||
| 38 | $this->cachePurgerMock->expects($this->never())->method('purgeAll'); |
||
| 39 | parent::receive($signal); |
||
|
|
|||
| 40 | } |
||
| 41 | } |
||
| 42 |
This check looks for a call to a parent method whose name is different than the method from which it is called.
Consider the following code:
The
getFirstName()method in theSoncalls the wrong method in the parent class.