Omnipay\PayPal\ExpressGatewayTest::testVoidSuccess PHP 메소드

testVoidSuccess() 공개 메소드

public testVoidSuccess ( )
    public function testVoidSuccess()
    {
        $this->setMockHttpResponse('ExpressVoidSuccess.txt');
        $response = $this->gateway->void($this->voidOptions)->send();
        $this->assertInstanceOf('\\Omnipay\\PayPal\\Message\\Response', $response);
        $this->assertTrue($response->isSuccessful());
        $this->assertFalse($response->isRedirect());
        $this->assertEquals('ASDFASDFASDF', $response->getTransactionReference());
    }