| Constructor and Description |
|---|
SliceHasResponse(org.hamcrest.Matcher<? extends Response> rsp,
RequestLine line)
New response matcher for slice with request line.
|
SliceHasResponse(org.hamcrest.Matcher<? extends Response> rsp,
RequestLine line,
Headers headers,
com.artipie.asto.Content body)
New response matcher for slice with request line, headers and body.
|
| Modifier and Type | Method and Description |
|---|---|
void |
describeMismatchSafely(Slice item,
org.hamcrest.Description description) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
matchesSafely(Slice item) |
public SliceHasResponse(org.hamcrest.Matcher<? extends Response> rsp, RequestLine line)
rsp - Response matcherline - Request linepublic SliceHasResponse(org.hamcrest.Matcher<? extends Response> rsp, RequestLine line, Headers headers, com.artipie.asto.Content body)
rsp - Response matcherline - Request lineheaders - Headersbody - BodyCopyright © 2012–2020 jcabi.com. All rights reserved.