Class CollectionContainsOnly<T>
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.TypeSafeMatcher<Collection<T>>
-
- software.amazon.awssdk.testutils.hamcrest.CollectionContainsOnly<T>
-
- All Implemented Interfaces:
org.hamcrest.Matcher<Collection<T>>,org.hamcrest.SelfDescribing
public final class CollectionContainsOnly<T> extends org.hamcrest.TypeSafeMatcher<Collection<T>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddescribeTo(org.hamcrest.Description description)protected booleanmatchesSafely(Collection<T> actualItems)-
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
-
-
-
-
Method Detail
-
matchesSafely
protected boolean matchesSafely(Collection<T> actualItems)
- Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeMatcher<Collection<T>>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-
-