public function testSendFailure()
 {
     $this->setMockHttpResponse('FetchIssuersFailure.txt');
     $response = $this->request->send();
     $this->assertFalse($response->isSuccessful());
     $this->assertEquals('Invalid merchant security code', $response->getMessage());
     $this->assertEquals(1005, $response->getCode());
 }
 public function testIssuerNotFound()
 {
     $this->setMockHttpResponse('RestFetchIssuersFailure.txt');
     $response = $this->request->send();
     $this->assertEquals('Not found', $response->getMessage());
     $this->assertEquals(404, $response->getCode());
     $this->assertFalse($response->isRedirect());
     $this->assertFalse($response->isSuccessful());
     $this->assertInstanceOf('Omnipay\\MultiSafepay\\Message\\RestFetchIssuersResponse', $response);
 }