| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public function testReturnValuesFromInnerShifter() |
||
| 14 | { |
||
| 15 | $shifter = $this->mockShifter(); |
||
| 16 | $shifter |
||
| 17 | ->expects($this->any()) |
||
| 18 | ->method('shift') |
||
| 19 | ->will($this->onConsecutiveCalls('2014-01-01', '2014-01-02', '2014-01-03')); |
||
| 20 | |||
| 21 | $shifterShifter = new InnerShifter($shifter); |
||
| 22 | |||
| 23 | $this->assertEquals('2014-01-01', $shifterShifter->shift('2011-01-01')); |
||
| 24 | $this->assertEquals('2014-01-02', $shifterShifter->shift('2011-01-01')); |
||
| 25 | $this->assertEquals('2014-01-03', $shifterShifter->shift('2011-01-01')); |
||
| 26 | } |
||
| 27 | |||
| 40 |