Class ShouldNotContainValue

java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.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 Details

    • 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.