Ejemplo n.º 1
0
 public function hasBodyWithXmlPayload()
 {
     $fixture = new RestRequest();
     $fixture->setPayload(array('title' => 'New issue'), new RestXmlSerializer());
     $this->assertTrue($fixture->hasBody());
 }