public function testRemoveDotSegments() { $r = UriResolver::removeDotSegments('/a/b/c/./../../g'); $e = '/a/g'; $this->assertEquals($e, $r); }