Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
22 | public function testRealClass() |
||
23 | { |
||
24 | $plugin = new ExampleTwigTemplatePluginTraitTest(); |
||
25 | |||
26 | $ref = new \ReflectionObject($plugin); |
||
27 | |||
28 | $this->assertEquals('ExampleTwigTemplatePluginTraitTest', $plugin->getTwigNamespace()); |
||
29 | $this->assertEquals([ |
||
30 | \dirname($ref->getFileName()).'/templates', |
||
31 | ], $plugin->getTwigTemplatePaths()); |
||
32 | } |
||
53 |