public static class ElasticsearchMatchers.SearchHitHasIndexMatcher
extends org.hamcrest.TypeSafeMatcher<org.elasticsearch.search.SearchHit>
Constructor and Description |
---|
SearchHitHasIndexMatcher(java.lang.String index) |
Modifier and Type | Method and Description |
---|---|
void |
describeMismatchSafely(org.elasticsearch.search.SearchHit searchHit,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
matchesSafely(org.elasticsearch.search.SearchHit searchHit) |
public 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)