/**
  * We should increment the order ID with each NewInvoice call
  */
 function testNewInvoiceOrderId()
 {
     $init = $this->getDonorTestData('BR');
     $firstRequest = $this->setUpRequest($init);
     $firstAttempt = new TestingAstroPayAdapter();
     $firstAttempt->setDummyGatewayResponseCode('1');
     $firstAttempt->doPayment();
     $this->setUpRequest($init, $firstRequest->getSessionArray());
     $secondAttempt = new TestingAstroPayAdapter();
     $secondAttempt->doPayment();
     parse_str($firstAttempt->curled[0], $firstParams);
     parse_str($secondAttempt->curled[0], $secondParams);
     $this->assertNotEquals($firstParams['x_invoice'], $secondParams['x_invoice'], 'Not generating new order id for NewInvoice call');
 }