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
CharSequences 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 ErrorMessageFactoryshouldBeEqualNormalizingPunctuationAndWhitespace(CharSequence actual, CharSequence expected) Creates a new.ShouldBeEqualNormalizingPunctuationAndWhitespaceMethods 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.
-