/** * testAuthority * * @dataProvider authorityProvider * * @param string $url * @param string $expected */ public function testAuthority($url, $expected) { $uri = new PsrUri($url); $this->assertEquals($expected, $uri->getAuthority()); }