public final class HmRsHeader extends org.hamcrest.TypeSafeMatcher<Response>
This "matcher" tests given response header.
The header name(s) should be provided in lowercase.
The class is immutable and thread-safe.
Constructor and Description |
---|
HmRsHeader(org.hamcrest.Matcher<? extends Map<? extends CharSequence,? extends CharSequence>> mtchr)
Expected matcher.
|
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description)
Fail description.
|
boolean |
matchesSafely(Response item)
Type safe matcher.
|
describeMismatch, describeMismatchSafely, matches
public HmRsHeader(org.hamcrest.Matcher<? extends Map<? extends CharSequence,? extends CharSequence>> mtchr)
mtchr
- Is expected header matcher.Copyright © 2015 Take. All rights reserved.