| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 11 |
| Lines | 15 |
| Ratio | 100 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 41 | public function testRenderTagFunction() |
||
| 42 | { |
||
| 43 | $this |
||
| 44 | ->given( |
||
| 45 | $renderer = new \mock\Novaway\Component\OpenGraph\View\OpenGraphRendererInterface(), |
||
| 46 | $tag = new \mock\Novaway\Component\OpenGraph\OpenGraphTagInterface() |
||
| 47 | ) |
||
| 48 | ->if($this->newTestedInstance($renderer)) |
||
| 49 | ->then |
||
| 50 | ->given($this->testedInstance->renderTagFunction($tag)) |
||
| 51 | ->mock($renderer) |
||
| 52 | ->call('renderTag') |
||
| 53 | ->withAtLeastArguments([$tag])->once() |
||
| 54 | ; |
||
| 55 | } |
||
| 56 | } |
||
| 58 |