Exemplo n.º 1
0
 /**
  * Test getCreditCardRejectCSV using a date with no data.
  */
 public function testReportLinkgetCreditCardRejectCSVNoData()
 {
     $iats = new ReportLink(self::$agentCode, self::$password);
     $time = mktime(0, 0, 0, 1, 1, 2050);
     $request = array('date' => $iats->getFormattedDate($time), 'customerIPAddress' => '');
     $response = $iats->getCreditCardRejectCSV($request);
     $this->assertEquals('', $response);
 }