public class EnumerationMatcher<T> extends org.hamcrest.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) |
describeMismatch, describeMismatchSafely, matchespublic EnumerationMatcher(Collection<T> items)
public boolean matchesSafely(Enumeration<T> item)
matchesSafely in class org.hamcrest.TypeSafeMatcher<Enumeration<T>>public void describeTo(org.hamcrest.Description description)
public static <T> org.hamcrest.Matcher<Enumeration<T>> equalTo(Collection<T> items)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.