public class ShouldNotContain extends BasicErrorMessageFactory
String.arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldNotContain(Object actual,
Object expected,
Object found)
Creates a new
ShouldNotContain. |
static ErrorMessageFactory |
shouldNotContain(Object actual,
Object expected,
Object found,
ComparisonStrategy comparisonStrategy)
Creates a new
ShouldNotContain. |
create, create, equals, hashCode, toString, unquotedStringpublic static ErrorMessageFactory shouldNotContain(Object actual, Object expected, Object found, ComparisonStrategy comparisonStrategy)
ShouldNotContain.actual - the actual value in the failed assertion.expected - values expected not to be contained in actual.found - the values in expected found in actual.comparisonStrategy - the ComparisonStrategy used to evaluate assertion.ErrorMessageFactory.public static ErrorMessageFactory shouldNotContain(Object actual, Object expected, Object found)
ShouldNotContain.actual - the actual value in the failed assertion.expected - values expected not to be contained in actual.found - the values in expected found in actual.ErrorMessageFactory.Copyright © 2013-2014 AssertJ. All Rights Reserved.