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

public class IterablesTimesMatcher<T> extends org.hamcrest.TypeSafeMatcher<Iterable<? super T>>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • matchesSafely

      protected boolean matchesSafely(Iterable<? super T> iterable)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<Iterable<? super T>>
    • 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)