org.axonframework.test.matchers
Class EmptyCollectionMatcher
java.lang.Object
org.hamcrest.BaseMatcher<List<?>>
org.axonframework.test.matchers.EmptyCollectionMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<List<?>>, org.hamcrest.SelfDescribing
public class EmptyCollectionMatcher
- extends org.hamcrest.BaseMatcher<List<?>>
Matches any empty collection.
- Since:
- 1.1
- Author:
- Allard Buijze
Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString |
EmptyCollectionMatcher
public EmptyCollectionMatcher(String contentDescription)
- Creates a matcher of a list of empty items. The name of the item type (in plural) is passed in the given
contentDescription
and will be part of the description of this matcher.
- Parameters:
contentDescription
- The description of the content type of the collection
matches
public boolean matches(Object item)
describeTo
public void describeTo(org.hamcrest.Description description)
Copyright © 2010-2016. All Rights Reserved.