/**
  * Tests a DELETE request using the httpbin service.
  */
 public function xtestDelete()
 {
     $rest = new RestApi('http://httpbin.org');
     $rest->setJson();
     $response = $rest->delete('/delete', array('foo' => 'bar'));
     $this->assertEquals(200, $response->status);
     $this->assertObjectHasAttribute('args', $response->body);
     $this->assertInternalType('object', $response->body->json);
     $this->assertEquals('bar', $response->body->json->foo);
 }