new BankService(); bankService.open("benjamin", 100); assertThat(bankService.withdraw("benjamin", 25)) .isEqualTo(75); } public double withdraw(String id, double amount) { double balance = readBalanceForAccount(id); if(amount > balance) { throw new RuntimeException( "Insufficient balance" ); } double newBalance = balance - amount; updateAccountBalance(id, newBalance); return newBalance; } if(amount >= balance) { if(amount < balance) { if(false) { if(true) { ❌ ✅ ❌ ✅