Omnipay\PayPal\RestGatewayTest::testCompleteSubscription PHP Метод

testCompleteSubscription() публичный Метод

Incomplete generic tests for subscription payments
    public function testCompleteSubscription()
    {
        $this->setMockHttpResponse('RestExecuteSubscriptionSuccess.txt');
        $response = $this->gateway->completeSubscription($this->subscription_options)->send();
        $this->assertTrue($response->isSuccessful());
        $this->assertNull($response->getMessage());
        $this->assertEquals('I-0LN988D3JACS', $response->getTransactionReference());
    }