| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 11 |
| Lines | 15 |
| Ratio | 100 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 25 | public function testRenderGraphFunction() |
||
| 26 | { |
||
| 27 | $this |
||
| 28 | ->given( |
||
| 29 | $renderer = new \mock\Novaway\Component\OpenGraph\View\OpenGraphRendererInterface(), |
||
| 30 | $graph = new \mock\Novaway\Component\OpenGraph\OpenGraphInterface() |
||
| 31 | ) |
||
| 32 | ->if($this->newTestedInstance($renderer)) |
||
| 33 | ->then |
||
| 34 | ->given($this->testedInstance->renderGraphFunction($graph)) |
||
| 35 | ->mock($renderer) |
||
| 36 | ->call('render') |
||
| 37 | ->withAtLeastArguments([$graph])->once() |
||
| 38 | ; |
||
| 39 | } |
||
| 40 | |||
| 58 |