Top Description Fields Constructors Methods
org.assertj.core.error

public Class ShouldBeEqualNormalizingWhitespace

extends BasicErrorMessageFactory
Class Inheritance

Creates an error message indicating that an assertion that verifies that two CharSequences are equal, after the whitespace of both strings has been normalized, failed.
Author
Alexander Bischof

Field Summary

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
argumentsformatformatter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldBeEqualNormalizingWhitespace
(CharSequence
the actual value in the failed assertion.
actual
,
CharSequence
the expected value in the failed assertion.
expected
)

Creates a new org.assertj.core.error.ShouldBeEqualNormalizingWhitespace.

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
createcreatecreateequalshashCodetoStringunquotedString

Constructor Detail

ShouldBeEqualNormalizingWhitespaceback to summary
private ShouldBeEqualNormalizingWhitespace(CharSequence actual, CharSequence expected)

Method Detail

shouldBeEqualNormalizingWhitespaceback to summary
public static ErrorMessageFactory shouldBeEqualNormalizingWhitespace(CharSequence actual, CharSequence expected)

Creates a new org.assertj.core.error.ShouldBeEqualNormalizingWhitespace.

Parameters
actual:CharSequence

the actual value in the failed assertion.

expected:CharSequence

the expected value in the failed assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.