function testMinimal() { $templateXML = simplexml_load_string($this->minimalTemplateString, "SimpleXMLElement"); $template = new TemplateDef($templateXML); $this->assertEquals("templates/minimal.php", $template->getPath()); $this->assertEquals("", $template->getTitle()); $this->assertEquals("", $template->getTitleKey()); $this->assertEquals("", $template->getSection()); $this->assertEquals("", $template->getSubSection()); $this->assertEquals("", $template->getParam("displaySidebar")); }