Package org.assertj.core.error
Class ShouldNotBeEqualNormalizingWhitespace
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldNotBeEqualNormalizingWhitespace
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldNotBeEqualNormalizingWhitespace extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that twoCharSequences 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, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description privateShouldNotBeEqualNormalizingWhitespace(CharSequence actual, CharSequence expected)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactoryshouldNotBeEqualNormalizingWhitespace(CharSequence actual, CharSequence expected)Creates a new.ShouldNotBeEqualNormalizingWhitespace-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Constructor Detail
-
ShouldNotBeEqualNormalizingWhitespace
private ShouldNotBeEqualNormalizingWhitespace(CharSequence actual, CharSequence expected)
-
-
Method Detail
-
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.
-
-