Class ShouldNotContainValues

  • All Implemented Interfaces:
    org.assertj.core.error.ErrorMessageFactory

    public class ShouldNotContainValues
    extends org.assertj.core.error.BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies a map does not contain values.
    Author:
    MichaƂ Chmielarz
    • Method Detail

      • shouldNotContainValues

        public static org.assertj.core.error.ErrorMessageFactory shouldNotContainValues​(Object actual,
                                                                                        Object values)
        Creates a new ShouldNotContainValues.
        Parameters:
        actual - the actual values in the failed assertion.
        values - the unexpected values.
        Returns:
        the created ErrorMessageFactory.