PHP 클래스 Payum\Paypal\Ipn\Tests\ApiTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: payum/payum

공개 메소드들

메소드 설명
couldBeConstructedWithHttpClientAndOptions ( )
shouldProxyWholeNotificationToClientSend ( )
shouldReturnInvalidIfResponseContentContainsSomethingNotEqualToVerified ( )
shouldReturnInvalidIfResponseContentInvalid ( )
shouldReturnLiveIpnEndpointIfSandboxSetFalseInConstructor ( )
shouldReturnSandboxIpnEndpointIfSandboxSetTrueInConstructor ( )
shouldReturnVerifiedIfResponseContentVerified ( )
throwIfResponseStatusNotOk ( )
throwIfSandboxOptionNotSetInConstructor ( )

보호된 메소드들

메소드 설명
createHttpClientMock ( ) : PHPUnit_Framework_MockObject_MockObject | Payum\Core\HttpClientInterface
createHttpMessageFactory ( ) : Http\Message\MessageFactory
createSuccessHttpClientStub ( ) : PHPUnit_Framework_MockObject_MockObject | Payum\Core\HttpClientInterface

메소드 상세

couldBeConstructedWithHttpClientAndOptions() 공개 메소드

createHttpClientMock() 보호된 메소드

protected createHttpClientMock ( ) : PHPUnit_Framework_MockObject_MockObject | Payum\Core\HttpClientInterface
리턴 PHPUnit_Framework_MockObject_MockObject | Payum\Core\HttpClientInterface

createHttpMessageFactory() 보호된 메소드

protected createHttpMessageFactory ( ) : Http\Message\MessageFactory
리턴 Http\Message\MessageFactory

createSuccessHttpClientStub() 보호된 메소드

protected createSuccessHttpClientStub ( ) : PHPUnit_Framework_MockObject_MockObject | Payum\Core\HttpClientInterface
리턴 PHPUnit_Framework_MockObject_MockObject | Payum\Core\HttpClientInterface

shouldProxyWholeNotificationToClientSend() 공개 메소드

shouldReturnInvalidIfResponseContentContainsSomethingNotEqualToVerified() 공개 메소드

shouldReturnInvalidIfResponseContentInvalid() 공개 메소드

shouldReturnLiveIpnEndpointIfSandboxSetFalseInConstructor() 공개 메소드

shouldReturnSandboxIpnEndpointIfSandboxSetTrueInConstructor() 공개 메소드

shouldReturnVerifiedIfResponseContentVerified() 공개 메소드

throwIfResponseStatusNotOk() 공개 메소드

throwIfSandboxOptionNotSetInConstructor() 공개 메소드