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