Class ShouldContainKey

    • Method Detail

      • shouldContainKey

        public static ErrorMessageFactory shouldContainKey​(Object actual,
                                                           Condition<?> keyCondition)
        Creates a new ShouldContainKey.
        Parameters:
        actual - the actual map in the failed assertion.
        keyCondition - key condition.
        Returns:
        the created ErrorMessageFactory.