Package org.assertj.core.error
Class ShouldNotBeEqualIgnoringWhitespace
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldNotBeEqualIgnoringWhitespace
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldNotBeEqualIgnoringWhitespace extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that twoCharSequence
s are not equal, ignoring whitespace differences, failed.- Author:
- Dan Corder
-
-
Field Summary
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ShouldNotBeEqualIgnoringWhitespace(CharSequence actual, CharSequence expected)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactory
shouldNotBeEqualIgnoringWhitespace(CharSequence actual, CharSequence expected)
Creates a new
.ShouldNotBeEqualIgnoringWhitespace
-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Constructor Detail
-
ShouldNotBeEqualIgnoringWhitespace
private ShouldNotBeEqualIgnoringWhitespace(CharSequence actual, CharSequence expected)
-
-
Method Detail
-
shouldNotBeEqualIgnoringWhitespace
public static ErrorMessageFactory shouldNotBeEqualIgnoringWhitespace(CharSequence actual, CharSequence expected)
Creates a new
.ShouldNotBeEqualIgnoringWhitespace
- Parameters:
actual
- the actual value in the failed assertion.expected
- the expected value in the failed assertion.- Returns:
- the created
ErrorMessageFactory
.
-
-