Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | public function testAddingNewLoader() |
||
33 | { |
||
34 | $articleLoader = new ArticleLoader( |
||
35 | __DIR__.'/../../Twig/Node', |
||
36 | new MetaFactory(new Context(new EventDispatcher(), new ArrayCache())) |
||
37 | ); |
||
38 | $this->loader->addLoader($articleLoader); |
||
39 | |||
40 | $this->assertTrue($this->loader->isSupported('article')); |
||
41 | unset($this->loader); |
||
42 | unset($articleLoader); |
||
43 | } |
||
44 | } |
||
45 |