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

it_should_return_false_when_an_ipn_message_is_invalid() public method

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