Package com.atlassian.bamboo.matcher
Class IterablesTimesMatcher<T>
- All Implemented Interfaces:
org.hamcrest.Matcher<Iterable<? super T>>,org.hamcrest.SelfDescribing
-
Method Summary
Modifier and TypeMethodDescriptionvoiddescribeTo(org.hamcrest.Description description) static <T> org.hamcrest.Matcher<Iterable<? super T>> exactlyOnce(org.hamcrest.Matcher<? super T> itemMatcher) protected booleanmatchesSafely(Iterable<? super T> iterable) static <T> org.hamcrest.Matcher<Iterable<? super T>> none(org.hamcrest.Matcher<? super T> itemMatcher) static <T> org.hamcrest.Matcher<Iterable<? super T>> times(int times, org.hamcrest.Matcher<? super T> itemMatcher) static <T> org.hamcrest.Matcher<Iterable<? super T>> twice(org.hamcrest.Matcher<? super T> itemMatcher) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Method Details
-
matchesSafely
-
describeTo
public void describeTo(org.hamcrest.Description description) -
none
public static <T> org.hamcrest.Matcher<Iterable<? super T>> none(org.hamcrest.Matcher<? super T> itemMatcher) -
exactlyOnce
public static <T> org.hamcrest.Matcher<Iterable<? super T>> exactlyOnce(org.hamcrest.Matcher<? super T> itemMatcher) -
twice
public static <T> org.hamcrest.Matcher<Iterable<? super T>> twice(org.hamcrest.Matcher<? super T> itemMatcher) -
times
public static <T> org.hamcrest.Matcher<Iterable<? super T>> times(int times, org.hamcrest.Matcher<? super T> itemMatcher)
-