PHP 클래스 Payum\Paypal\ExpressCheckout\Nvp\Tests\ApiTest

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

공개 메소드들

메소드 설명
couldBeConstructedWithOptionsAndHttpClient ( )
shouldAddAuthorizeFieldsOnSetExpressCheckoutCall ( )
shouldAddMethodOnSetExpressCheckoutCall ( )
shouldAddVersionOnSetExpressCheckoutCall ( )
shouldAllowGetAuthorizeUrlWithCustomCmd ( )
shouldAllowGetAuthorizeUrlWithCustomCmdPassedAsQueryParameter ( )
shouldAllowGetAuthorizeUrlWithCustomQueryParameter ( )
shouldAllowGetAuthorizeUrlWithCustomUserAction ( )
shouldAllowGetAuthorizeUrlWithCustomUserActionPassedAsQueryParameter ( )
shouldAllowGetAuthorizeUrlWithIgnoredEmptyCustomQueryParameter ( )
shouldGetRealAuthorizeUrlIfSandboxFalse ( )
shouldGetSandboxAuthorizeUrlIfSandboxTrue ( )
shouldUseCancelUrlSetInFormRequest ( )
shouldUseCancelUrlSetInOptions ( )
shouldUseRealApiEndpointIfSandboxFalse ( )
shouldUseReturnUrlSetInFormRequest ( )
shouldUseReturnUrlSetInOptions ( )
shouldUseSandboxApiEndpointIfSandboxTrue ( )
throwIfCancelUrlNeitherSetToFormRequestNorToOptions ( )
throwIfRequiredOptionsNotSetInConstructor ( )
throwIfReturnUrlNeitherSetToFormRequestNorToOptions ( )
throwIfSandboxOptionNotSetInConstructor ( )

보호된 메소드들

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

메소드 상세

couldBeConstructedWithOptionsAndHttpClient() 공개 메소드

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

shouldAddAuthorizeFieldsOnSetExpressCheckoutCall() 공개 메소드

shouldAddMethodOnSetExpressCheckoutCall() 공개 메소드

shouldAddVersionOnSetExpressCheckoutCall() 공개 메소드

shouldAllowGetAuthorizeUrlWithCustomCmd() 공개 메소드

shouldAllowGetAuthorizeUrlWithCustomCmdPassedAsQueryParameter() 공개 메소드

shouldAllowGetAuthorizeUrlWithCustomQueryParameter() 공개 메소드

shouldAllowGetAuthorizeUrlWithCustomUserAction() 공개 메소드

shouldAllowGetAuthorizeUrlWithCustomUserActionPassedAsQueryParameter() 공개 메소드

shouldAllowGetAuthorizeUrlWithIgnoredEmptyCustomQueryParameter() 공개 메소드

shouldGetRealAuthorizeUrlIfSandboxFalse() 공개 메소드

shouldGetSandboxAuthorizeUrlIfSandboxTrue() 공개 메소드

shouldUseCancelUrlSetInFormRequest() 공개 메소드

shouldUseCancelUrlSetInOptions() 공개 메소드

shouldUseRealApiEndpointIfSandboxFalse() 공개 메소드

shouldUseReturnUrlSetInFormRequest() 공개 메소드

shouldUseReturnUrlSetInOptions() 공개 메소드

shouldUseSandboxApiEndpointIfSandboxTrue() 공개 메소드

throwIfCancelUrlNeitherSetToFormRequestNorToOptions() 공개 메소드

throwIfRequiredOptionsNotSetInConstructor() 공개 메소드

throwIfReturnUrlNeitherSetToFormRequestNorToOptions() 공개 메소드

throwIfSandboxOptionNotSetInConstructor() 공개 메소드