/** * @FIXME - this test, and the method are faulty at a first glance */ public function testGetParentPathWithRelativePath() { $sUrl = '/test/ana/../../rest/application/./processors/RESTProcessorA/validContentTypeTest.php'; $oUrl = new UrlParserA_underTest($sUrl); $this->assertEquals('/rest/application', $oUrl->getParentPath(3)); }