/** * @dataProvider defaultDots */ public function testRemoveDotSegments($path, $expected) { $uri = new URI(); $this->assertEquals($expected, $uri->removeDotSegments($path)); }