Package org.assertj.core.error
Class ShouldStartWithIgnoringCase
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldStartWithIgnoringCase
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldStartWithIgnoringCase extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifiesCharSequencestarts with a given value (ignoring case considerations) failed.
-
-
Field Summary
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description privateShouldStartWithIgnoringCase(java.lang.CharSequence actual, java.lang.CharSequence expected, ComparisonStrategy comparisonStrategy)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactoryshouldStartWithIgnoringCase(java.lang.CharSequence actual, java.lang.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 Detail
-
ShouldStartWithIgnoringCase
private ShouldStartWithIgnoringCase(java.lang.CharSequence actual, java.lang.CharSequence expected, ComparisonStrategy comparisonStrategy)
-
-
Method Detail
-
shouldStartWithIgnoringCase
public static ErrorMessageFactory shouldStartWithIgnoringCase(java.lang.CharSequence actual, java.lang.CharSequence expected, ComparisonStrategy comparisonStrategy)
Creates a new.ShouldStartWithIgnoringCase- Parameters:
actual- the actual value in the failed assertion.expected- the value or sequence of values thatactualis expected to start with, ignoring case.comparisonStrategy- theComparisonStrategyused to evaluate assertion.- Returns:
- the created
ErrorMessageFactory.
-
-