function it_should_return_a_service_response_when_verifying_an_ipn_message(ClientStub $httpClient, Message $message, ResponseInterface $response)
{
$response->getBody()->willReturn('foo');
$httpClient->post(Argument::type('string'), Argument::type('array'))->willReturn($response);
$message->getAll()->willReturn(['foo' => 'bar']);
$response = $this->verifyIpnMessage($message);
$response->shouldHaveType('Mdb\\PayPal\\Ipn\\ServiceResponse');
$response->getBody()->shouldReturn('foo');
}