13141516171819
public void specifySteps() { given(new AccountIsInCredit()); when(new UserRequestsCash()); then(new ATMShouldDispenseCash()); then(new ATMShouldReturnBankCardToCustomer()); then(new AccountBalanceShouldBeReduced()); }
public void specifySteps() { given(new AccountHasOverdraftPermission()); when(new UserRequestsCash()); then(new ATMShouldDispenseCash()); then(new ATMShouldReturnBankCardToCustomer()); then(new AccountBalanceShouldBeReduced()); }