public function testGetHttpUserAgent() { $info = new ServerInfo(self::$test_data1); $expected = self::PREFIX_DATA . ServerInfo::KEY_HTTP_USER_AGENT; $actual = $info->getHttpUserAgent(); $this->assertEquals($expected, $actual, __CLASS__ . "::" . __METHOD__ . ": line " . __LINE__); }