Package org.elasticsearch.test.hamcrest
Class CollectionAssertions
- java.lang.Object
-
- org.elasticsearch.test.hamcrest.CollectionAssertions
-
public class CollectionAssertions extends java.lang.Object
Assertions for easier handling of our custom collections, for example ImmutableOpenMap
-
-
Constructor Summary
Constructors Constructor Description CollectionAssertions()
-
Method Summary
Modifier and Type Method Description static org.hamcrest.Matcher<ImmutableOpenMap>
hasAllKeys(java.lang.String... keys)
static org.hamcrest.Matcher<ImmutableOpenMap>
hasKey(java.lang.String key)
-
-
-
Method Detail
-
hasKey
public static org.hamcrest.Matcher<ImmutableOpenMap> hasKey(java.lang.String key)
-
hasAllKeys
public static org.hamcrest.Matcher<ImmutableOpenMap> hasAllKeys(java.lang.String... keys)
-
-