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
    • Constructor Detail

      • ShouldNotContainValue

        private ShouldNotContainValue​(Object actual,
                                      Object value)
    • Method Detail

      • shouldNotContainValue

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