public class CollectionAssertions
extends Object
Assertions for easier handling of our custom collections,
for example ImmutableOpenMap
-
Constructor Summary
Constructors
-
Method Summary
static org.hamcrest.Matcher<org.elasticsearch.common.collect.ImmutableOpenMap<String,?>>
static org.hamcrest.Matcher<org.elasticsearch.common.collect.ImmutableOpenMap<String,?>>
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CollectionAssertions
public CollectionAssertions()
-
Method Details
-
hasKey
public static org.hamcrest.Matcher<org.elasticsearch.common.collect.ImmutableOpenMap<String,?>> hasKey(String key)
-
hasAllKeys
public static org.hamcrest.Matcher<org.elasticsearch.common.collect.ImmutableOpenMap<String,?>> hasAllKeys(String... keys)