/** * Tests whether removeDotSegments() works as expected. * * @dataProvider dataProviderTestRemoveDotSegments * @return void */ public function testRemoveDotSegments($path, $expectedResult) { $this->assertSame($expectedResult, Uri::removeDotSegments($path)); }