public class IteratorMatchers
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <T> org.hamcrest.Matcher<java.util.Iterator<T>> |
returnsAllItemsOf(java.util.Collection<T> expectedItems) |
static <T> org.hamcrest.Matcher<java.util.Iterator<T>> |
returnsAllItemsOf(T... expectedItems) |
static <T> org.hamcrest.Matcher<java.util.Iterator<T>> |
returnsItems(java.lang.Iterable<T> expectedItems) |
static <T> org.hamcrest.Matcher<java.util.Iterator<T>> |
returnsItems(T... expectedItems) |
static org.hamcrest.Matcher<java.util.Iterator<?>> |
returnsNothing() |
@Nonnull public static org.hamcrest.Matcher<java.util.Iterator<?>> returnsNothing()
@SafeVarargs
@Nonnull
public static <T> org.hamcrest.Matcher<java.util.Iterator<T>> returnsItems(@Nullable
T... expectedItems)
@Nonnull
public static <T> org.hamcrest.Matcher<java.util.Iterator<T>> returnsItems(@Nonnull
java.lang.Iterable<T> expectedItems)
@SafeVarargs
@Nonnull
public static <T> org.hamcrest.Matcher<java.util.Iterator<T>> returnsAllItemsOf(@Nullable
T... expectedItems)
@Nonnull
public static <T> org.hamcrest.Matcher<java.util.Iterator<T>> returnsAllItemsOf(@Nonnull
java.util.Collection<T> expectedItems)
Copyright © 2013 echocat. All Rights Reserved.