@@ -0,0 +1,442 @@
+import junit.framework.Assert;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Apublic class TestBankAccount %7B%0A%0A@Test%0Apublic void testWithSufficientFunds()%7B%0A BankAccount account = new BankAccount(10);%0A double amount = account.debit(5);%0A Assert.assertEquals(5.0, amount);%0A%7D%0A%0A@Test%0Apublic void testWithInSufficientFunds()%7B%0A BankAccount account = new BankAccount(10);%0A double amount = account.debit(11);%0A Assert.assertEquals(10.0, amount);%0A%7D%0A%0A%7D%0A

Create TestBankAccount.java