Class ShouldBeEqualNormalizingPunctuationAndWhitespace

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldBeEqualNormalizingPunctuationAndWhitespace
    extends BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies that two CharSequences are equal, after the punctuation of both strings have been normalized, failed. Created by harisha talanki on 2/29/20
    • Constructor Detail

      • ShouldBeEqualNormalizingPunctuationAndWhitespace

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

      • shouldBeEqualNormalizingPunctuationAndWhitespace

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