Package org.assertj.core.error
Class ShouldBeEqualNormalizingPunctuationAndWhitespace
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldBeEqualNormalizingPunctuationAndWhitespace
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that two
CharSequence
s are equal,
after the punctuation of both strings have been normalized, failed.
Created by harisha talanki on 2/29/20-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactory
shouldBeEqualNormalizingPunctuationAndWhitespace
(CharSequence actual, CharSequence expected) Creates a new
.ShouldBeEqualNormalizingPunctuationAndWhitespace
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldBeEqualNormalizingPunctuationAndWhitespace
public static ErrorMessageFactory shouldBeEqualNormalizingPunctuationAndWhitespace(CharSequence actual, CharSequence expected) Creates a new
.ShouldBeEqualNormalizingPunctuationAndWhitespace
- Parameters:
actual
- the actual value in the failed assertion.expected
- the expected value in the failed assertion.- Returns:
- the created
ErrorMessageFactory
.
-