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());
 }