package com.accenture.multibank.dao;

import static org.junit.Assert.assertEquals;

import java.util.HashMap;
import java.util.Map;

import org.junit.Test;

public class TestHashMapAccountDao {

	Map map = new HashMap();
	AbstractAccount acc = new AbstractAccount();

	// zu testen: AccountImpl
	AccountDaoImpl accDao = new AccountDaoImpl();


	@Test
	public void testSafeAndFindAccount() {
		
		accDao.save(acc);
		
		accDao.find(acc.getAccountNumber());
		
		assertEquals(2, acc.getAccountNumber());
		assertEquals(100, acc.getBalance());
		

	}


}

@@ -159,16 +159,132 @@
 est;%0D%0A%0D%0A
+import com.accenture.multibank.accounts.AbstractAccount;%0D%0Aimport com.accenture.multibank.accounts.SavingAccount;%0D%0A%0D%0A
 public c
@@ -369,24 +369,22 @@
 c = new 
-Abstract
+Saving
 Account(

fix bug