bad.robot.http.matchers
Class HttpResponseStatusCodeMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<HttpResponse>
bad.robot.http.matchers.HttpResponseStatusCodeMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<HttpResponse>, org.hamcrest.SelfDescribing
public class HttpResponseStatusCodeMatcher
- extends org.hamcrest.TypeSafeMatcher<HttpResponse>
Methods inherited from class org.hamcrest.TypeSafeMatcher |
matches |
Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
hasStatus
public static HttpResponseStatusCodeMatcher hasStatus(int expected)
matchesSafely
public boolean matchesSafely(HttpResponse actual)
- Specified by:
matchesSafely
in class org.hamcrest.TypeSafeMatcher<HttpResponse>
describeTo
public void describeTo(org.hamcrest.Description description)
Copyright © 2012. All Rights Reserved.