/** * @covers System_View_Simple::addScriptPath * @covers System_View_Simple::getScriptPaths */ public function testAddScriptPath() { $dir1 = dirname(__FILE__) . '/'; $dir2 = dirname(__FILE__) . '/../'; $this->object->addScriptPath($dir1); $this->object->addScriptPath($dir2); self::assertEquals(array($dir2, $dir1), $this->object->getScriptPaths()); }