public function testGetResponseData() { $body = array('test' => 'test_value'); $this->_object->setBody($body); $responseData = $this->_object->getResponseData(); $this->assertArrayHasKey('test', $responseData); }