Class ShouldBeEqualIgnoringCase

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldBeEqualIgnoringCase
    extends BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies that two Strings are equal, ignoring case considerations, failed.
    Author:
    Alex Ruiz
    • Method Detail

      • shouldBeEqual

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