Package org.assertj.core.error
Class ShouldNotStartWithIgnoringCase
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldNotStartWithIgnoringCase
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies
CharSequence
does not start with a
given value (ignoring case considerations) failed.-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactory
shouldNotStartWithIgnoringCase
(CharSequence actual, CharSequence expected, org.assertj.core.internal.ComparisonStrategy comparisonStrategy) Creates a new
.ShouldNotStartWithIgnoringCase
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldNotStartWithIgnoringCase
public static ErrorMessageFactory shouldNotStartWithIgnoringCase(CharSequence actual, CharSequence expected, org.assertj.core.internal.ComparisonStrategy comparisonStrategy) Creates a new
.ShouldNotStartWithIgnoringCase
- Parameters:
actual
- the actual value in the failed assertion.expected
- the value or sequence of values thatactual
is expected not to start with, ignoring case.comparisonStrategy
- theComparisonStrategy
used to evaluate assertion.- Returns:
- the created
ErrorMessageFactory
.
-