Class ShouldNotStartWithIgnoringCase

java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.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.
  • Method Details

    • shouldNotStartWithIgnoringCase

      public static ErrorMessageFactory shouldNotStartWithIgnoringCase(CharSequence actual, CharSequence expected, org.assertj.core.internal.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.