Package org.assertj.core.error
Class ShouldEndWithIgnoringCase
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldEndWithIgnoringCase
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that
CharSequence ends 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 ErrorMessageFactoryshouldEndWithIgnoringCase(CharSequence actual, CharSequence expected, ComparisonStrategy comparisonStrategy) Creates a new.ShouldEndWithIgnoringCaseMethods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldEndWithIgnoringCase
public static ErrorMessageFactory shouldEndWithIgnoringCase(CharSequence actual, CharSequence expected, ComparisonStrategy comparisonStrategy) Creates a new.ShouldEndWithIgnoringCase- Parameters:
actual- the actual value in the failed assertion.expected- the value or sequence of values thatactualis expected to end with, ignoring case.comparisonStrategy- theComparisonStrategyused to evaluate assertion.- Returns:
- the created
ErrorMessageFactory.
-