public class EnumerationMatcher<T> extends org.junit.internal.matchers.TypeSafeMatcher<Enumeration<T>>
Enumeration
against a collection of expected items.Constructor and Description |
---|
EnumerationMatcher(Collection<T> items) |
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
static <T> org.hamcrest.Matcher<Enumeration<T>> |
equalTo(Collection<T> items) |
boolean |
matchesSafely(Enumeration<T> item) |
matches
public EnumerationMatcher(Collection<T> items)
public boolean matchesSafely(Enumeration<T> item)
matchesSafely
in class org.junit.internal.matchers.TypeSafeMatcher<Enumeration<T>>
public void describeTo(org.hamcrest.Description description)
public static <T> org.hamcrest.Matcher<Enumeration<T>> equalTo(Collection<T> items)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.