/**
  * Tests a PUT request using the httpbin service.
  */
 public function xtestPut()
 {
     $rest = new RestApi('http://httpbin.org');
     $rest->setJson();
     $response = $rest->put('/put', 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);
 }