Examples of AccountIsInCredit


Examples of example.atm.givens.AccountIsInCredit

import example.atm.outcomes.AccountBalanceShouldBeReduced;

public class HappyScenario extends MultiStepScenario {

    public void specifySteps() {
        given(new AccountIsInCredit());
        when(new UserRequestsCash());
        then(new ATMShouldDispenseCash());
        then(new ATMShouldReturnBankCardToCustomer());
        then(new AccountBalanceShouldBeReduced());
    }
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.