Class ShouldNotBeEqualNormalizingWhitespace

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldNotBeEqualNormalizingWhitespace
    extends BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies that two CharSequences are not equal, after the whitespace of both strings has been normalized, failed.
    • Constructor Detail

      • ShouldNotBeEqualNormalizingWhitespace

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

      • shouldNotBeEqualNormalizingWhitespace

        public static ErrorMessageFactory shouldNotBeEqualNormalizingWhitespace​(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.