public function testUserAgent() { $this->curl->setUserAgent(Curl::USER_AGENT); $this->assertEquals(Curl::USER_AGENT, $this->server('GET', array('test' => 'server', 'key' => 'HTTP_USER_AGENT'))); }