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