### Question:
Account { public boolean withdraw(int amount) { if (balance < amount) { return false; } balance = balance - amount; return true; }  boolean withdraw(int amount);  }### Answer:
@Test public void given20AndMin10_whenWithdraw5_thenSuccess() { assertTrue(account.withdraw(5)); }
@Test public void given20AndMin10_whenWithdraw100_thenFail() { assertFalse(account.withdraw(100)); }