public class ShouldStartWith extends BasicErrorMessageFactory
String
.arguments, format, formatter
Modifier | Constructor and Description |
---|---|
private |
ShouldStartWith(java.lang.Object actual,
java.lang.Object expected,
ComparisonStrategy comparisonStrategy) |
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldStartWith(java.lang.Object actual,
java.lang.Object expected)
Creates a new
. |
static ErrorMessageFactory |
shouldStartWith(java.lang.Object actual,
java.lang.Object expected,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
private ShouldStartWith(java.lang.Object actual, java.lang.Object expected, ComparisonStrategy comparisonStrategy)
public static ErrorMessageFactory shouldStartWith(java.lang.Object actual, java.lang.Object expected, ComparisonStrategy comparisonStrategy)
ShouldStartWith
.actual
- the actual value in the failed assertion.expected
- the value or sequence of values that actual
is expected to start with.comparisonStrategy
- the ComparisonStrategy
used to evaluate assertion.ErrorMessageFactory
.public static ErrorMessageFactory shouldStartWith(java.lang.Object actual, java.lang.Object expected)
ShouldStartWith
.actual
- the actual value in the failed assertion.expected
- the value or sequence of values that actual
is expected to start with.ErrorMessageFactory
.