public class ElementsShouldHaveAtLeast extends BasicErrorMessageFactory
Condition
A group of elements can be a collection, an array.arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
elementsShouldHaveAtLeast(Object actual,
int times,
Condition<?> condition)
Creates a new
ElementsShouldHaveAtLeast . |
create, equals, hashCode, toString
public static ErrorMessageFactory elementsShouldHaveAtLeast(Object actual, int times, Condition<?> condition)
ElementsShouldHaveAtLeast
.actual
- the actual value in the failed assertion.times
- least time the condition should be verify.condition
- the Condition
.ErrorMessageFactory
.Copyright © 2013 AssertJ. All Rights Reserved.