public class ElementsShouldBeAtMost extends BasicErrorMessageFactory
Condition A group of elements can be a collection, an array.arguments, format, formatter| Modifier | Constructor and Description |
|---|---|
private |
ElementsShouldBeAtMost(java.lang.Object actual,
int times,
Condition<?> condition) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
elementsShouldBeAtMost(java.lang.Object actual,
int times,
Condition<?> condition)
Creates a new
ElementsShouldBeAtMost. |
create, create, create, equals, hashCode, toString, unquotedStringprivate ElementsShouldBeAtMost(java.lang.Object actual,
int times,
Condition<?> condition)
public static ErrorMessageFactory elementsShouldBeAtMost(java.lang.Object actual, int times, Condition<?> condition)
ElementsShouldBeAtMost.actual - the actual value in the failed assertion.times - least time the condition should be verify.condition - the Condition.ErrorMessageFactory.