public function testCaptureFailure() { $this->setMockHttpResponse('CaptureFailure.txt'); $response = $this->gateway->capture($this->referencedOptions)->send(); $this->assertFalse($response->isSuccessful()); $this->assertFalse($response->isRedirect()); $this->assertSame('No action taken.', $response->getMessage()); }