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