Package com.github.restdriver.serverdriver.matchers

Examples of com.github.restdriver.serverdriver.matchers.HasStatusCode


     *
     * @param statusCode The status code to match
     * @return The new matcher
     */
    public static TypeSafeMatcher<Response> hasStatusCode(int statusCode) {
        return new HasStatusCode(is(statusCode));
    }
View Full Code Here


     *
     * @param statusCodeMatcher The matcher against which the status code will be evaluated
     * @return The new matcher
     */
    public static TypeSafeMatcher<Response> hasStatusCode(Matcher<Integer> statusCodeMatcher) {
        return new HasStatusCode(statusCodeMatcher);
    }
View Full Code Here

TOP

Related Classes of com.github.restdriver.serverdriver.matchers.HasStatusCode

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.