示例#1
0
 public function testPortNumber()
 {
     $requestData = array('SERVER_PORT' => 31415);
     $request = new Request($requestData);
     $this->assertEquals(31415, $request->getPort());
 }