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