Exemple #1
0
 /**
  * @covers OAuth\Common\Http\Uri\Uri::__construct
  * @covers OAuth\Common\Http\Uri\Uri::parseUri
  * @covers OAuth\Common\Http\Uri\Uri::getPort
  */
 public function testGetPortExplicit()
 {
     $uri = new Uri('http://example.com:21');
     $this->assertSame(21, $uri->getPort());
 }