public abstract class AbstractCollectionMatcher extends AbstractSimpleMatcher
| Constructor and Description |
|---|
AbstractCollectionMatcher() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
matches(Parameter parameter,
Object actual,
Collection collection)
Used to find out if a collection satisfies the condition set forth by this matcher
|
protected boolean |
matches(Parameter parameter,
Object actual,
Object property)
Called to see if the condition holds
|
matchesprotected final boolean matches(Parameter parameter, Object actual, Object property)
AbstractSimpleMatchermatches in class AbstractSimpleMatcherparameter - the parameteractual - the actual valueproperty - the expectationprotected abstract boolean matches(Parameter parameter, Object actual, Collection collection)
parameter - the parameteractual - the actual valuecollection - the collectionCopyright © 2014–2016. All rights reserved.