Class ShouldNotContainValue

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldNotContainValue
    extends BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies a map does not contains a value.
    Author:
    Nicolas François
    • Method Detail

      • shouldNotContainValue

        public static ErrorMessageFactory shouldNotContainValue​(java.lang.Object actual,
                                                                java.lang.Object value)
        Creates a new ShouldNotContainValue.
        Parameters:
        actual - the actual value in the failed assertion.
        Returns:
        the created ErrorMessageFactory.