Package com.atlassian.bamboo.matcher
Class IterablesTimesMatcher<T>
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<Iterable<? super T>>
com.atlassian.bamboo.matcher.IterablesTimesMatcher<T>
- All Implemented Interfaces:
org.hamcrest.Matcher<Iterable<? super T>>
,org.hamcrest.SelfDescribing
-
Method Summary
Modifier and TypeMethodDescriptionvoid
describeTo
(org.hamcrest.Description description) static <T> org.hamcrest.Matcher<Iterable<? super T>>
exactlyOnce
(org.hamcrest.Matcher<? super T> itemMatcher) protected boolean
matchesSafely
(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, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, 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)
-