@Test
 public void testUpdate() throws Exception {
   LOGGER.info("Money Before: " + account.getAmountOfMoney());
   account.setAmountOfMoney(new BigDecimal(1234));
   accountDAO.update(account);
   LOGGER.info(
       "Money After: " + accountDAO.getByID(account.getBankAccountID()).getAmountOfMoney());
 }
 @Before
 public void init() {
   LOGGER.info("init Test");
   account = new BankAccount();
   account.setAccountNumber("7777");
   account.setAmountOfMoney(new BigDecimal(999999));
   accountDAO.save(account);
 }
 @Test
 public void testDelete() throws Exception {
   accountDAO.delete(account);
   LOGGER.info(
       "Test: Deleted Account with number 7777 is "
           + accountDAO.getByID(account.getBankAccountID()));
 }
 @Test
 public void testDeleteByID() throws Exception {
   accountDAO.deleteByID(account.getBankAccountID());
   LOGGER.info("Test: deleteByID: account is " + accountDAO.getByID(account.getBankAccountID()));
 }
 @Test
 public void testGetByID() throws Exception {
   LOGGER.info("Test: Get Account by id: " + accountDAO.getByID(account.getBankAccountID()));
 }