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, or
public ContainsAllSpecification(PropertyFunction<? extends Collection<T>> collectionProperty, Iterable<T> valueCollection)
public PropertyFunction<? extends Collection<T>> collectionProperty()
public boolean satisfiedBy(Composite item)
Specification
item
- the item to be tested