### Question:
AccountSessionBean { public String withdraw(float amount) { this.amount -= amount; return "Withdrawn: " + amount; }  String withdraw(float amount); String deposit(float amount); float getAmount();  }### Answer:
@Test public void shouldWithdrawGivenAmount() { final float amount = 5.0F; final String actual = sut.withdraw(amount); assertThat(actual, is(equalTo("Withdrawn: " + amount))); }