Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 11 |
Lines | 15 |
Ratio | 100 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
9 | public function testRenderNamespaceAttributesFunction() |
||
10 | { |
||
11 | $this |
||
12 | ->given( |
||
13 | $renderer = new \mock\Novaway\Component\OpenGraph\View\OpenGraphRendererInterface(), |
||
14 | $graph = new \mock\Novaway\Component\OpenGraph\OpenGraphInterface() |
||
15 | ) |
||
16 | ->if($this->newTestedInstance($renderer)) |
||
17 | ->then |
||
18 | ->given($this->testedInstance->renderNamespaceFunction($graph)) |
||
19 | ->mock($renderer) |
||
20 | ->call('renderNamespaceAttributes') |
||
21 | ->withAtLeastArguments([$graph])->once() |
||
22 | ; |
||
23 | } |
||
24 | |||
58 |