public function testCompletePurchaseErrorWithMessage()
 {
     $this->response = new CompletePurchaseResponse($this->getMockRequest(), array('sessionid' => '123abc', 'errorstatus' => '0', 'authstatus' => '', 'authcode' => '', 'errorcode' => '50', 'errordescription' => 'Something wrong', 'iasorderno' => '987654'));
     $this->assertFalse($this->response->isSuccessful());
     $this->assertFalse($this->response->isRedirect());
     $this->assertTrue($this->isError());
     $this->assertSame('Something wrong', $this->response->getMessage());
     $this->assertSame('987654', $this->response->getTransactionId());
 }