PHP Class spec\Mdb\PayPal\Ipn\Service\GuzzleServiceSpec

Inheritance: extends PhpSpec\ObjectBehavior
Exibir arquivo Open project: mike182uk/paypal-ipn-listener

Public Methods

Method Description
it_should_be_a_service ( )
it_should_return_a_service_response_when_verifying_an_ipn_message ( ClientStub $httpClient, Message $message, Psr\Http\Message\ResponseInterface $response )
it_should_throw_a_service_exception_when_a_request_fails ( ClientStub $httpClient, Message $message )
let ( ClientStub $httpClient )

Method Details

it_should_be_a_service() public method

it_should_return_a_service_response_when_verifying_an_ipn_message() public method

public it_should_return_a_service_response_when_verifying_an_ipn_message ( ClientStub $httpClient, Message $message, Psr\Http\Message\ResponseInterface $response )
$httpClient ClientStub
$message Mdb\PayPal\Ipn\Message
$response Psr\Http\Message\ResponseInterface

it_should_throw_a_service_exception_when_a_request_fails() public method

public it_should_throw_a_service_exception_when_a_request_fails ( ClientStub $httpClient, Message $message )
$httpClient ClientStub
$message Mdb\PayPal\Ipn\Message

let() public method

public let ( ClientStub $httpClient )
$httpClient ClientStub