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