public class ShouldNotContain extends BasicErrorMessageFactory
String
.arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldNotContain(java.lang.Object actual,
java.lang.Object expected,
java.lang.Object found)
Creates a new
ShouldNotContain . |
static ErrorMessageFactory |
shouldNotContain(java.lang.Object actual,
java.lang.Object expected,
java.lang.Object found,
ComparisonStrategy comparisonStrategy)
Creates a new
ShouldNotContain . |
create, equals, hashCode, toString
public static ErrorMessageFactory shouldNotContain(java.lang.Object actual, java.lang.Object expected, java.lang.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(java.lang.Object actual, java.lang.Object expected, java.lang.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 © 2007–2018. All rights reserved.