function testRegistersExtensionWithTemplate() { Template::register('\\MetaTemplate\\Template\\PhpTemplate', '.phtml'); $templ = Template::create(__DIR__ . "/fixtures/template.phtml"); $this->assertInternalType('object', $templ); $this->assertInstanceOf('\\MetaTemplate\\Template\\PhpTemplate', $templ); }