public class ShouldNotEndWith extends BasicErrorMessageFactory
String
.arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldNotEndWith(Object actual,
Object expected)
Creates a new
. |
static ErrorMessageFactory |
shouldNotEndWith(Object actual,
Object expected,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldNotEndWith(Object actual, Object expected, ComparisonStrategy comparisonStrategy)
ShouldNotEndWith
.actual
- the actual value in the failed assertion.expected
- the value or sequence of values that actual
is expected to not end with.comparisonStrategy
- the ComparisonStrategy
used to evaluate assertion.ErrorMessageFactory
.public static ErrorMessageFactory shouldNotEndWith(Object actual, Object expected)
ShouldNotEndWith
.actual
- the actual value in the failed assertion.expected
- the value or sequence of values that actual
is expected to not end with.ErrorMessageFactory
.Copyright © 2014–2018 AssertJ. All rights reserved.