src/main/java/org/cornutum/hamcrest/Composites.java
/**
   * Returns a Matcher for an Iterator that visits the given collection of members in any order.
   */
Returns a Matcher for an Iterator that visits the given collection of members in any order.
Returns a Matcher for an Iterator that visits the given collection of members in any order .
public static <T> Matcher<Iterator<T>> visitsMembers( Iterable<? extends T> expected)
    {
    List<T> members = streamFor( expected).collect( toList());
    return new VisitsMembers<T>( members.iterator());
    }
public static < T > Matcher < Iterator < T > > visitsMembers ( Iterable < ? extends T > expected ) { List < T > members = streamFor ( expected ) . collect ( toList ( ) ) ; return new VisitsMembers < T > ( members . iterator ( ) ) ; }
Returns a Matcher for an Iterator that visits the given collection of members in any order.
Returns a Matcher for an Iterator that visits the given collection of members in any order .