Class ShouldNotBeEqualIgnoringWhitespace

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldNotBeEqualIgnoringWhitespace
    extends BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies that two CharSequences are not equal, ignoring whitespace differences, failed.
    • Constructor Detail

      • ShouldNotBeEqualIgnoringWhitespace

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

      • shouldNotBeEqualIgnoringWhitespace

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