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) |
static ErrorMessageFactory |
shouldNotContain(CharSequence actual,
CharSequence[] values,
Set<? extends CharSequence> found,
ComparisonStrategy comparisonStrategy)
Creates a new
|
static ErrorMessageFactory |
shouldNotContain(CharSequence actual,
CharSequence sequence,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldNotContain(CharSequence actual, CharSequence sequence, ComparisonStrategy comparisonStrategy)
ShouldNotContainCharSequence
.actual
- the actual value in the failed assertion.sequence
- the charsequence expected not to be in actual
.comparisonStrategy
- the ComparisonStrategy
used to evaluate assertion.ErrorMessageFactory
.public static ErrorMessageFactory shouldNotContain(CharSequence actual, CharSequence sequence)
public static ErrorMessageFactory shouldNotContain(CharSequence actual, CharSequence[] values, Set<? extends CharSequence> found, ComparisonStrategy comparisonStrategy)
ShouldNotContainCharSequence
actual
- the actual value in the failed assertion.values
- the charsequences expected not to be in actual
.found
- the charsequences unexpectedly in actual
.comparisonStrategy
- the ComparisonStrategy
used to evaluate assertion.ErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.