| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | public function testThrownAnExceptionWheneverPathIsRequestedBeforeBuild() |
||
| 12 | { |
||
| 13 | $this->mapper = $this |
||
|
|
|||
| 14 | ->getMockBuilder('Mado\QueryBundle\Component\Meta\DataMapper') |
||
| 15 | ->disableOriginalConstructor() |
||
| 16 | ->getMock(); |
||
| 17 | |||
| 18 | $this->dijkstra = $this |
||
| 19 | ->getMockBuilder('Mado\QueryBundle\Component\Meta\Dijkstra') |
||
| 20 | ->disableOriginalConstructor() |
||
| 21 | ->getMock(); |
||
| 22 | |||
| 23 | $this->walker = new DijkstraWalker( |
||
| 24 | $this->mapper, |
||
| 25 | $this->dijkstra |
||
| 26 | ); |
||
| 27 | |||
| 28 | $this->walker->getPath(); |
||
| 29 | } |
||
| 81 |