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