| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 13 | public function testCurrentValuePassesValueFromInnerShifterToOuterShifter() |
||
| 14 | { |
||
| 15 | $innerShifter = $this->mockShifter(); |
||
| 16 | $innerShifter->expects($this->any())->method('shift')->will($this->returnValue('2015-01-02')); |
||
| 17 | |||
| 18 | $outerShifter = $this->mockShifter(); |
||
| 19 | $outerShifter->expects($this->once())->method('shift')->with('2015-01-02'); |
||
| 20 | |||
| 21 | $iterator = new InnerChronoIterator($innerShifter, $outerShifter, '2011-11-11'); |
||
| 22 | $iterator->next(); |
||
| 23 | $iterator->current(); |
||
| 24 | } |
||
| 25 | |||
| 49 |