Package org.assertj.core.error
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 verifiesCharSequence
does not start 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 private
ShouldNotStartWithIgnoringCase(java.lang.Object actual, java.lang.Object expected, ComparisonStrategy comparisonStrategy)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactory
shouldNotStartWithIgnoringCase(java.lang.CharSequence actual, java.lang.CharSequence expected, ComparisonStrategy comparisonStrategy)
Creates a new
.ShouldNotStartWithIgnoringCase
-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Constructor Detail
-
ShouldNotStartWithIgnoringCase
private ShouldNotStartWithIgnoringCase(java.lang.Object actual, java.lang.Object expected, ComparisonStrategy comparisonStrategy)
-
-
Method Detail
-
shouldNotStartWithIgnoringCase
public static ErrorMessageFactory shouldNotStartWithIgnoringCase(java.lang.CharSequence actual, java.lang.CharSequence expected, 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
.
-
-