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