public function testShouldSetDirecotryPath() { $path = dirname(__FILE__) . '/apps/sample/'; $dispatcher = new Net_URL_Dispatcher(__METHOD__); $dispatcher->setDirectory($path); $exceptPath = $dispatcher->getDirectory(); $this->assertSame($exceptPath, $path); }