Package org.axonframework.test.matchers
Class EmptyCollectionMatcher<T>
java.lang.Object
org.hamcrest.BaseMatcher<List<T>>
org.axonframework.test.matchers.EmptyCollectionMatcher<T>
- All Implemented Interfaces:
org.hamcrest.Matcher<List<T>>,org.hamcrest.SelfDescribing
Matches any empty collection.
- Since:
- 1.1
- Author:
- Allard Buijze
-
Constructor Summary
ConstructorsConstructorDescriptionEmptyCollectionMatcher(String contentDescription) Creates a matcher of a list of empty items. -
Method Summary
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, isNotNull, toString
-
Constructor Details
-
EmptyCollectionMatcher
Creates a matcher of a list of empty items. The name of the item type (in plural) is passed in the givencontentDescriptionand will be part of the description of this matcher.- Parameters:
contentDescription- The description of the content type of the collection
-
-
Method Details
-
matches
-
describeTo
public void describeTo(org.hamcrest.Description description)
-