withPort() public method

public withPort ( $port )
Beispiel #1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testPortMustBeValid()
 {
     $uri = new Uri('');
     $uri->withPort(100000);
 }