public function testPatchRequestMethodWithMultidimArray()
{
$data = array('data' => array('foo' => 'bar', 'wibble' => 'wubble'));
$curl = new Curl();
$curl->setHeader('X-DEBUG-TEST', 'data_values');
$curl->patch(Test::TEST_URL, $data);
$this->assertEquals('{"data":{"foo":"bar","wibble":"wubble"}}', $curl->rawResponse);
$this->assertEquals(json_decode(json_encode($data), false), $curl->response);
}