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, equals, hashCode, toStringpublic 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 AssertJ. All Rights Reserved.