public function testGetScriptPath() { $view = new View(); $base = __DIR__ . '/_templates'; $view->setScriptPath($base); $path = $view->getScriptPath('test.phtml'); $this->assertEquals($base . '/test.phtml', $path); }