/** * Test getCreditCardBankReconciliationReportCSV. */ public function testReportLinkgetCreditCardBankReconciliationReportCSV() { $iats = new ReportLink(self::$agentCode, self::$password); $fromTime = mktime(0, 0, 0, date('n'), date('j'), date('Y')); $toTime = mktime(23, 59, 59, date('n'), date('j'), date('Y')); $request = array('fromDate' => $iats->getFormattedDate($fromTime), 'toDate' => $iats->getFormattedDate($toTime), 'currency' => 'USD', 'summaryOnly' => FALSE, 'customerIPAddress' => ''); $response = $iats->getCreditCardBankReconciliationReportCSV($request); // Test server does not provide real account balance information, // so a successful request is made without returning report data. $this->assertEquals('', $response); }