Class ShouldBeEqualNormalizingWhitespace

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldBeEqualNormalizingWhitespace
    extends BasicErrorMessageFactory
    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.
    • Constructor Detail

      • ShouldBeEqualNormalizingWhitespace

        private ShouldBeEqualNormalizingWhitespace​(java.lang.CharSequence actual,
                                                   java.lang.CharSequence expected)
    • Method Detail

      • shouldBeEqualNormalizingWhitespace

        public static ErrorMessageFactory shouldBeEqualNormalizingWhitespace​(java.lang.CharSequence actual,
                                                                             java.lang.CharSequence expected)
        Parameters:
        actual - the actual value in the failed assertion.
        expected - the expected value in the failed assertion.
        Returns:
        the created ErrorMessageFactory.