public class ShouldStartWith extends BasicErrorMessageFactory
String.arguments, format| 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, equals, hashCode, toStringpublic 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.Copyright © 2007–2018. All rights reserved.