Omnipay\PayPal\ExpressGatewayTest::testVoidSuccess PHP Method

testVoidSuccess() public method

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());
    }