Package org.assertj.core.error
Class ShouldBeEqualNormalizingPunctuationAndWhitespace
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldBeEqualNormalizingPunctuationAndWhitespace
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldBeEqualNormalizingPunctuationAndWhitespace extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that twoCharSequence
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, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ShouldBeEqualNormalizingPunctuationAndWhitespace(CharSequence actual, CharSequence expected)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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
-
-
-
-
Constructor Detail
-
ShouldBeEqualNormalizingPunctuationAndWhitespace
private ShouldBeEqualNormalizingPunctuationAndWhitespace(CharSequence actual, CharSequence expected)
-
-
Method Detail
-
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
.
-
-