Examples of ATMShouldRefuseCash


Examples of example.atm.outcomes.ATMShouldRefuseCash

public class InLotsOfTrouble extends MultiStepScenario {

    public void specifySteps() {
        given(new AccountIsOverOverdraftLimit());
        when(new UserRequestsCash());
        then(new ATMShouldRefuseCash());
        then(new ATMShouldRetainBankCard());
    }
View Full Code Here

Examples of example.atm.outcomes.ATMShouldRefuseCash

    public void specifySteps() {
        given(new HappyScenarioWithOverdraft());
        given(new AccountHasNegativeBalanceWithoutPermission());
        when(new UserRequestsCash());
        then(new ATMShouldRefuseCash());
        then(new ATMShouldReturnBankCardToCustomer());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.