public function testReversalFailure() { $this->setMockHttpResponse('ReversalFailure.txt'); $response = $this->gateway->reversal($this->referencedOptions)->send(); $this->assertFalse($response->isSuccessful()); $this->assertFalse($response->isRedirect()); $this->assertSame('No action taken.', $response->getMessage()); }
public function testSupportsReversal() { $this->assertInstanceOf('Omnipay\\Common\\Message\\RequestInterface', $this->gateway->reversal()); }