Omnipay\Alipay\Tests\LegacyWapGatewayTest::testPurchase PHP 메소드

testPurchase() 공개 메소드

public testPurchase ( )
    public function testPurchase()
    {
        /**
         * @var LegacyWapPurchaseResponse $response
         */
        $response = $this->gateway->purchase($this->options)->send();
        $this->assertTrue($response->isRedirect());
        $this->assertTrue($response->isSuccessful());
        $this->assertNotEmpty($response->getRedirectUrl());
    }