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