Class HttpResponseStatusCodeMatcher
java.lang.Object
org.hamcrest.BaseMatcher<org.apache.http.HttpResponse>
org.keycloak.tests.utils.matchers.HttpResponseStatusCodeMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<org.apache.http.HttpResponse>,org.hamcrest.SelfDescribing
public class HttpResponseStatusCodeMatcher
extends org.hamcrest.BaseMatcher<org.apache.http.HttpResponse>
Matcher for matching status code of
Response instance.- Author:
- hmlnarik
-
Constructor Summary
ConstructorsConstructorDescriptionHttpResponseStatusCodeMatcher(org.hamcrest.Matcher<? extends Number> matcher) -
Method Summary
Modifier and TypeMethodDescriptionvoiddescribeMismatch(Object item, org.hamcrest.Description description) voiddescribeTo(org.hamcrest.Description description) booleanMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Constructor Details
-
HttpResponseStatusCodeMatcher
-
-
Method Details
-
matches
-
describeMismatch
- Specified by:
describeMismatchin interfaceorg.hamcrest.Matcher<org.apache.http.HttpResponse>- Overrides:
describeMismatchin classorg.hamcrest.BaseMatcher<org.apache.http.HttpResponse>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-