Package org.jbehave.core.mock

Examples of org.jbehave.core.mock.Expectation.once()


    }

    public Expectation expects(String methodName) {
        Expectation expects = new Expectation(this, methodName);
        expectations.add(expects);
        return expects.once();
    }

    /** verify all expectations on the mock */
    public void verify() {
        for (Iterator i = expectations.iterator(); i.hasNext();) {
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.