/** * Tests whether isValidFragment() works as expected. * * @dataProvider dataProviderTestIsValidQueryFragment * @return void */ public function testIsValidFragment($fragment, $expectedResult) { $this->assertSame($expectedResult, Uri::isValidFragment($fragment)); }