public function testBasicSetMainTemplatePath() { $o = new ModuleMap('.*', __FILE__); $this->assertEmpty($o->getMainTemplatePath()); $path = VSC_FIXTURE_PATH . 'templates/'; $o->setMainTemplatePath($path); $this->assertEquals($path, $o->getMainTemplatePath()); }
public function testEmptyAtInitialization() { $o = new ModuleMap('.*', __FILE__); $this->assertEmpty($o->getMainTemplatePath()); }