Package org.assertj.core.error
Class ShouldNotBeEqualIgnoringWhitespace
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldNotBeEqualIgnoringWhitespace
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that two
CharSequences are not equal,
ignoring whitespace differences, failed.- Author:
- Dan Corder
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactoryshouldNotBeEqualIgnoringWhitespace(CharSequence actual, CharSequence expected) Creates a new.ShouldNotBeEqualIgnoringWhitespaceMethods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldNotBeEqualIgnoringWhitespace
public static ErrorMessageFactory shouldNotBeEqualIgnoringWhitespace(CharSequence actual, CharSequence expected) Creates a new.ShouldNotBeEqualIgnoringWhitespace- Parameters:
actual- the actual value in the failed assertion.expected- the expected value in the failed assertion.- Returns:
- the created
ErrorMessageFactory.
-