public function testGetNetloc() { $url = new Url('https://*****:*****@jwage.com:443'); $this->assertEquals('user:pass@jwage.com:443', $url->getNetloc()); }