Class CollectionAssertions


  • public class CollectionAssertions
    extends java.lang.Object
    Assertions for easier handling of our custom collections, for example ImmutableOpenMap
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CollectionAssertions

        public CollectionAssertions()
    • 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)