public function getRedirectData()
{
return null;
}
public function testExpressPurchaseSuccess() { $httpResponse = $this->getMockHttpResponse('ExpressPurchaseSuccess.txt'); $response = new ExpressAuthorizeResponse($this->getMockRequest(), $httpResponse->getBody()); $this->assertFalse($response->isSuccessful()); $this->assertSame('EC-42721413K79637829', $response->getTransactionReference()); $this->assertNull($response->getMessage()); $this->assertNull($response->getRedirectData()); $this->assertSame('GET', $response->getRedirectMethod()); }