public function getBody() { return $this->body; }
function it_should_throw_an_exception_when_an_unexpected_status_keyword_is_encountered(Message $message, ServiceResponse $serviceResponse) { $serviceResponse->getBody()->willReturn('foo'); $this->shouldThrow('UnexpectedValueException')->duringVerify($message); }