@Test public void given20AndMin10_whenWithdraw100_thenFail() { assertFalse(account.withdraw(100)); }
public boolean withdraw(int amount) { if (balance < amount) { return false; } balance = balance - amount; return true; }
Account { public boolean withdraw(int amount) { if (balance < amount) { return false; } balance = balance - amount; return true; } }
Account { public boolean withdraw(int amount) { if (balance < amount) { return false; } balance = balance - amount; return true; }  }
Account { public boolean withdraw(int amount) { if (balance < amount) { return false; } balance = balance - amount; return true; }  boolean withdraw(int amount); }
Account { public boolean withdraw(int amount) { if (balance < amount) { return false; } balance = balance - amount; return true; }  boolean withdraw(int amount);  }