public static function createPaymentHistory() { $history = new PaymentHistory(); $history->setCount(self::$count); $history->setNextId(self::$nextId); $history->setPayments(array(PaymentTest::createPayment())); return $history; }
public static function createPaymentHistory() { $history = new PaymentHistory(); $history->setCount(self::$count); $history->setNextId(self::$nextId); $history->setPayments(array(PaymentTest::createPayment())); return $history; }