Package org.assertj.core.error
Class ShouldNotBeEqualNormalizingWhitespace
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldNotBeEqualNormalizingWhitespace
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that two
CharSequence
s are not equal,
after the whitespace of both strings has been normalized, failed.- Author:
- Dan Corder
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactory
shouldNotBeEqualNormalizingWhitespace
(CharSequence actual, CharSequence expected) Creates a new
.ShouldNotBeEqualNormalizingWhitespace
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldNotBeEqualNormalizingWhitespace
public static ErrorMessageFactory shouldNotBeEqualNormalizingWhitespace(CharSequence actual, CharSequence expected) Creates a new
.ShouldNotBeEqualNormalizingWhitespace
- Parameters:
actual
- the actual value in the failed assertion.expected
- the expected value in the failed assertion.- Returns:
- the created
ErrorMessageFactory
.
-