public class ShouldStartWith extends BasicErrorMessageFactory
String.arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldStartWith(Object actual,
Object expected)
Creates a new
. |
static ErrorMessageFactory |
shouldStartWith(Object actual,
Object expected,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringpublic static ErrorMessageFactory shouldStartWith(Object actual, 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(Object actual, 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.Copyright © 2014–2019 AssertJ. All rights reserved.