Constructor and Description |
---|
EmptyCollectionMatcher(String contentDescription)
Creates a matcher of a list of empty items.
|
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
boolean |
matches(Object item) |
public EmptyCollectionMatcher(String contentDescription)
contentDescription
and will be part of the description of this matcher.contentDescription
- The description of the content type of the collectionpublic boolean matches(Object item)
public void describeTo(org.hamcrest.Description description)
Copyright © 2010–2017. All rights reserved.