Class ShouldNotContainKeys

    • Constructor Detail

      • ShouldNotContainKeys

        private ShouldNotContainKeys​(java.lang.Object actual,
                                     java.util.Set<K> key)
    • Method Detail

      • shouldNotContainKeys

        public static <K> ErrorMessageFactory shouldNotContainKeys​(java.lang.Object actual,
                                                                   java.util.Set<K> keys)
        Creates a new ShouldNotContainKeys.
        Type Parameters:
        K - key type
        Parameters:
        actual - the actual value in the failed assertion.
        keys - the unexpected keys
        Returns:
        the created ErrorMessageFactory.