public class ElementsShouldNotHave extends BasicErrorMessageFactory
Condition
A group of elements can be a collection, an array.arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
elementsShouldNotHave(Object actual,
Object notSatisfies,
Condition<?> condition)
Creates a new
ElementsShouldNotHave . |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory elementsShouldNotHave(Object actual, Object notSatisfies, Condition<?> condition)
ElementsShouldNotHave
.actual
- the actual value in the failed assertion.notSatisfies
- elements that not satisfies the conditioncondition
- the Condition
.ErrorMessageFactory
.Copyright © 2013–2017 AssertJ. All rights reserved.