Omnipay\PayPal\Message\ExpressAuthorizeResponseTest::testConstruct PHP Метод

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

public testConstruct ( )
    public function testConstruct()
    {
        // response should decode URL format data
        $response = new ExpressAuthorizeResponse($this->getMockRequest(), 'example=value&foo=bar');
        $this->assertEquals(array('example' => 'value', 'foo' => 'bar'), $response->getData());
    }