spec\Mdb\PayPal\Ipn\VerifierSpec::it_should_return_true_when_an_ipn_message_is_verified PHP Method

it_should_return_true_when_an_ipn_message_is_verified() public method

public it_should_return_true_when_an_ipn_message_is_verified ( Message $message, ServiceResponse $serviceResponse )
$message Mdb\PayPal\Ipn\Message
$serviceResponse Mdb\PayPal\Ipn\ServiceResponse
    function it_should_return_true_when_an_ipn_message_is_verified(Message $message, ServiceResponse $serviceResponse)
    {
        $serviceResponse->getBody()->willReturn(Verifier::STATUS_KEYWORD_VERIFIED);
        $this->verify($message)->shouldReturn(true);
    }