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