@Autowired
private IPaymentScheduleDao paymentScheduleDao;
@Test
public void testPaymentSchedule(){
LOGGER.info("Init testPaymentSchedule...");
PaymentSchedule paymentSchedule = new PaymentSchedule("This is comment",
new Date(), userAccountDao.getUserAccount(1000000),
TypePayments.EXTRAORDINARY.getType());
List<PaymentSchedule> list = new ArrayList<PaymentSchedule>();
list.add(paymentSchedule);
paymentScheduleDao.addAll(list);