/**
  * Invalid signature should be recognized as such.
  */
 function testInvalidSignature()
 {
     $init = $this->getDonorTestData('BR');
     $session['Donor']['order_id'] = '123456789';
     $this->setUpRequest($init, $session);
     $gateway = new TestingAstroPayAdapter();
     $gateway->setDummyGatewayResponseCode('badsig');
     $gateway->do_transaction('PaymentStatus');
     $results = $gateway->getTransactionData();
     $this->setExpectedException('ResponseProcessingException');
     $gateway->verifyStatusSignature($results);
 }