public class HttpResponseReasonPhraseMatcher
extends org.hamcrest.TypeSafeMatcher<org.apache.http.HttpResponse>
Constructor and Description |
---|
HttpResponseReasonPhraseMatcher(String reasonPhrase) |
Modifier and Type | Method and Description |
---|---|
protected void |
describeMismatchSafely(org.apache.http.HttpResponse response,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
static org.hamcrest.Matcher<org.apache.http.HttpResponse> |
hasReasonPhrase(String reasonPhrease) |
boolean |
matchesSafely(org.apache.http.HttpResponse response) |
public HttpResponseReasonPhraseMatcher(String reasonPhrase)
public boolean matchesSafely(org.apache.http.HttpResponse response)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<org.apache.http.HttpResponse>
public void describeTo(org.hamcrest.Description description)
protected void describeMismatchSafely(org.apache.http.HttpResponse response, org.hamcrest.Description mismatchDescription)
describeMismatchSafely
in class org.hamcrest.TypeSafeMatcher<org.apache.http.HttpResponse>
public static org.hamcrest.Matcher<org.apache.http.HttpResponse> hasReasonPhrase(String reasonPhrease)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.