public static class ElasticsearchMatchers.SearchHitHasIdMatcher
extends org.hamcrest.TypeSafeMatcher<org.elasticsearch.search.SearchHit>
Constructor and Description |
---|
SearchHitHasIdMatcher(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
describeMismatchSafely(org.elasticsearch.search.SearchHit searchHit,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(org.elasticsearch.search.SearchHit searchHit) |
protected boolean matchesSafely(org.elasticsearch.search.SearchHit searchHit)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<org.elasticsearch.search.SearchHit>
public void describeMismatchSafely(org.elasticsearch.search.SearchHit searchHit, org.hamcrest.Description mismatchDescription)
describeMismatchSafely
in class org.hamcrest.TypeSafeMatcher<org.elasticsearch.search.SearchHit>
public void describeTo(org.hamcrest.Description description)