fenom->addProvider("my", new Provider(FENOM_RESOURCES . '/provider')); } public function testCustom() { $this->assertTrue($this->fenom->templateExists('my:include.tpl')); $this->assertFalse($this->fenom->templateExists('my:include-none.tpl')); $this->assertRender("start: {include 'my:include.tpl'}", 'start: include template'); $this->assertTrue($this->fenom->getTemplate('my:include.tpl')->isValid()); } }