Esempio n. 1
0
 /**
  * @covers OAuth\Common\Http\Uri\Uri::__construct
  * @covers OAuth\Common\Http\Uri\Uri::parseUri
  * @covers OAuth\Common\Http\Uri\Uri::setUserInfo
  * @covers OAuth\Common\Http\Uri\Uri::protectUserInfo
  * @covers OAuth\Common\Http\Uri\Uri::getRawAuthority
  */
 public function testGetRawAuthorityWithUsernameAndPassWithoutExplicitPort()
 {
     $uri = new Uri('http://*****:*****@example.com');
     $this->assertSame('peehaa:pass@example.com', $uri->getRawAuthority());
 }