public abstract class ResponseBodyAssertion extends org.hamcrest.BaseMatcher<RequestAndResponse> implements RequestAndResponseAssertion
Matcher that applies a determined String Matcher to the body of a Response.| Constructor and Description |
|---|
ResponseBodyAssertion(org.hamcrest.Matcher<String> matcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeMismatch(Object item,
org.hamcrest.Description description) |
boolean |
matches(Object item) |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic ResponseBodyAssertion(org.hamcrest.Matcher<String> matcher)
public boolean matches(Object item)
matches in interface org.hamcrest.Matcher<RequestAndResponse>public void describeMismatch(Object item, org.hamcrest.Description description)
describeMismatch in interface org.hamcrest.Matcher<RequestAndResponse>describeMismatch in class org.hamcrest.BaseMatcher<RequestAndResponse>Copyright © 2016. All rights reserved.