/** * Test the removal of extra dot segments from paths * * @param $orig * @param $expected * @dataProvider pathWithDotSegmentProvider */ public function testRemovePathDotSegments($orig, $expected) { $this->assertEquals($expected, Uri::removePathDotSegments($orig)); }