public final class HmRsStatus extends org.hamcrest.TypeSafeMatcher<Response>
This "matcher" tests given response status code.
The class is immutable and thread-safe.
Constructor and Description |
---|
HmRsStatus(int val)
Expected matcher.
|
HmRsStatus(org.hamcrest.Matcher<? extends Number> 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 HmRsStatus(int val)
val
- Valuepublic HmRsStatus(org.hamcrest.Matcher<? extends Number> mtchr)
mtchr
- Is expected result code matcher.Copyright © 2015 Take. All rights reserved.