public function testUnknownResponseCode()
 {
     $data = array('Data' => 'responseCode=AA');
     $response = new CompletePurchaseResponse($this->getMockRequest(), $data);
     $this->assertFalse($response->isSuccessful());
     $this->assertSame('AA', $response->getCode());
     $this->assertSame('FAILED', $response->getStatus());
     $this->assertNull($response->getMessage());
 }
 public function testGetInternalDataEmpty()
 {
     $response = new CompletePurchaseResponse($this->getMockRequest(), array());
     $this->assertNull($response->getInternalData());
 }