public class HeaderContains extends ResponseHeaderAssertion
ResponseHeaderAssertion that verifies that a determined header is present.| Constructor and Description |
|---|
HeaderContains(String expectedValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeMismatch(Object item,
org.hamcrest.Description description) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
matches(Map<String,List<Object>> headers) |
matches_dont_implement_Matcher___instead_extend_BaseMatcher_, toStringpublic HeaderContains(String expectedValue)
public boolean matches(Map<String,List<Object>> headers)
matches in class ResponseHeaderAssertionpublic void describeTo(org.hamcrest.Description description)
public void describeMismatch(Object item, org.hamcrest.Description description)
describeMismatch in interface org.hamcrest.Matcher<RequestAndResponse>describeMismatch in class org.hamcrest.BaseMatcher<RequestAndResponse>Copyright © 2017. All rights reserved.