A CompositeSpec which requires all its specs to be true in order to evaluate to true. Uses lazy evaluation.
- The target type for this SpecType | Name and description |
---|---|
AndSpec<T> |
and(Spec<? super T>... specs) |
AndSpec<T> |
and(Closure spec) |
boolean |
isSatisfiedBy(T object) |
Methods inherited from class | Name |
---|---|
class CompositeSpec |
equals, getSpecs, hashCode |