public class ShouldNotContainCharSequence extends BasicErrorMessageFactory
CharSequence does not contain another
CharSequence failed.arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldNotContain(CharSequence actual,
CharSequence sequence)
Creates a new
. |
static ErrorMessageFactory |
shouldNotContain(CharSequence actual,
CharSequence sequence,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringpublic static ErrorMessageFactory shouldNotContain(CharSequence actual, CharSequence sequence)
ShouldNotContainCharSequence.actual - the actual value in the failed assertion.sequence - the sequence of values expected not to be in actual.ErrorMessageFactory.public static ErrorMessageFactory shouldNotContain(CharSequence actual, CharSequence sequence, ComparisonStrategy comparisonStrategy)
ShouldNotContainCharSequence.actual - the actual value in the failed assertion.sequence - the sequence of values expected not to be in actual.comparisonStrategy - the ComparisonStrategy used to evaluate assertion.ErrorMessageFactory.Copyright © 2014–2017 AssertJ. All rights reserved.