public function testDelete()
{
$http = new Http($this->_testConfig);
$result = $http->delete(null);
$expected = join("\r\n", array('DELETE / HTTP/1.1', 'Host: localhost:80', 'Connection: Close', 'User-Agent: Mozilla/5.0', '', ''));
$result = (string) $http->last->request;
$this->assertEqual($expected, $result);
}