Package com.github.restdriver.clientdriver.exception

Examples of com.github.restdriver.clientdriver.exception.ClientDriverInvalidExpectationException


     *
     * @param times The number of times this expectation should be matched
     */
    public final ClientDriverExpectation times(int times) {
        if (times < 1) {
            throw new ClientDriverInvalidExpectationException("Expectation cannot be matched less than once");
        }
        numberOfTimes = times;
       
        return this;
    }
View Full Code Here

TOP

Related Classes of com.github.restdriver.clientdriver.exception.ClientDriverInvalidExpectationException

Copyright © 2018 www.massapicom. 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.