public function getBodyWithXmlPayloadAndRootNode()
 {
     $fixture = new RestRequest();
     $fixture->setPayload(new Payload(array('title' => 'New issue'), array('name' => 'issue')), new RestXmlSerializer());
     $this->assertEquals('<?xml version="1.0" encoding="UTF-8"?>' . "\n" . '<issue><title>New issue</title></issue>', $fixture->getBody()->data);
 }