예제 #1
0
 public function testGetHost()
 {
     $info = new ServerInfo(self::$test_data1);
     $expected = self::PREFIX_DATA . ServerInfo::KEY_HTTP_HOST;
     $actual = $info->getHttpHost();
     $this->assertEquals($expected, $actual, __CLASS__ . "::" . __METHOD__ . ": line " . __LINE__);
 }