import org.junit.Assert; import org.junit.After; import org.junit.Before; import org.junit.Test; public class AccountTest { Account account = new Account(100); @Test public void accountTest(){ int expected = 100; int actual = account.balance(); Assert.assertEquals(expected, actual); } @Test public void openTest(){ Account expected = null; Account actual = account.open(110); Assert.assertEquals(expected, actual); } }