public void testInsert() { Payment payment = new Payment(); _manager.insert(payment); assertNotNull(_manager.getByID(payment.getID())); }
public void testDelete() { Payment payment = new Payment(); int size; _manager.insert(payment); size = _manager.getAll().size(); _manager.delete(payment); assertTrue(_manager.getAll().size() == (size - 1)); }
public void testTransactionManager() { assertNotNull(_manager.getAll()); }