public class ContainsAllSpecification<T> extends ExpressionSpecification
| Type | Property and Description |
|---|---|
PropertyFunction<? extends Collection<T>> |
collection |
| Constructor and Description |
|---|
ContainsAllSpecification(PropertyFunction<? extends Collection<T>> collectionProperty,
Iterable<T> valueCollection) |
| Modifier and Type | Method and Description |
|---|---|
PropertyFunction<? extends Collection<T>> |
collectionProperty() |
Iterable<T> |
containedValues() |
boolean |
satisfiedBy(Composite item)
Test whether an item matches the given specification
|
String |
toString() |
and, orpublic ContainsAllSpecification(PropertyFunction<? extends Collection<T>> collectionProperty, Iterable<T> valueCollection)
public PropertyFunction<? extends Collection<T>> collectionProperty()
public boolean satisfiedBy(Composite item)
Specificationitem - the item to be tested