Class ShouldNotStartWithIgnoringCase

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldNotStartWithIgnoringCase
    extends BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies CharSequence does not start with a given value (ignoring case considerations) failed.
    • Constructor Detail

      • ShouldNotStartWithIgnoringCase

        private ShouldNotStartWithIgnoringCase​(java.lang.Object actual,
                                               java.lang.Object expected,
                                               ComparisonStrategy comparisonStrategy)
    • Method Detail

      • shouldNotStartWithIgnoringCase

        public static ErrorMessageFactory shouldNotStartWithIgnoringCase​(java.lang.CharSequence actual,
                                                                         java.lang.CharSequence expected,
                                                                         ComparisonStrategy comparisonStrategy)
        Parameters:
        actual - the actual value in the failed assertion.
        expected - the value or sequence of values that actual is expected not to start with, ignoring case.
        comparisonStrategy - the ComparisonStrategy used to evaluate assertion.
        Returns:
        the created ErrorMessageFactory.