public final class HmRsStatus extends org.hamcrest.FeatureMatcher<Response,Integer>
This "matcher" tests given response status code.
The class is immutable and thread-safe.
Constructor and Description |
---|
HmRsStatus(int val)
Create matcher using HTTP code.
|
HmRsStatus(org.hamcrest.Matcher<Integer> matcher)
Create matcher using HTTP code matcher.
|
Modifier and Type | Method and Description |
---|---|
Integer |
featureValueOf(Response response) |
public HmRsStatus(int val)
val
- HTTP code valuepublic HmRsStatus(org.hamcrest.Matcher<Integer> matcher)
matcher
- HTTP code matcherCopyright © 2015–2016 Take. All rights reserved.