Class HttpResponseBodyMatcher
java.lang.Object
org.hamcrest.BaseMatcher<org.apache.http.HttpResponse>
org.keycloak.tests.utils.matchers.HttpResponseBodyMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<org.apache.http.HttpResponse>,org.hamcrest.SelfDescribing
public class HttpResponseBodyMatcher
extends org.hamcrest.BaseMatcher<org.apache.http.HttpResponse>
Matcher for matching status code of
Response instance.- Author:
- hmlnarik
-
Constructor Summary
Constructors -
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
-
HttpResponseBodyMatcher
-
-
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)
-