예제 #1
0
 public function hasBody()
 {
     $fixture = new RestRequest();
     $fixture->setBody(new RequestData('{ "title" : "New issue" }'));
     $this->assertTrue($fixture->hasBody());
 }