public class CollectionContainsOnly<T> extends org.hamcrest.TypeSafeMatcher<Collection<T>>
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(Collection<T> actualItems) |
describeMismatch, describeMismatchSafely, matches
protected boolean matchesSafely(Collection<T> actualItems)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<Collection<T>>
public void describeTo(org.hamcrest.Description description)
Copyright © 2024. All rights reserved.