/** * */ public function testGetPath() { $old_cwd = getcwd(); chdir(dirname(__FILE__)); $expected = dirname(__FILE__); $this->assertSame(Inspekt::getPath('./'), $expected); $expected = dirname(dirname(dirname(__FILE__))); $this->assertSame(Inspekt::getPath('./../../'), $expected); chdir($old_cwd); }