/** Use this matcher instead of the one in org.hamcrest.CoreMatchers,
* due to incompatibilities between libraries supplied with Juno and Kepler. */
- @SafeVarargs
public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(T... items) {
return no.uio.ifi.refaktor.IsCollectionContaining.<T>hasItems(items);
}
/** Use this matcher instead of the one in org.hamcrest.CoreMatchers,
* due to incompatibilities between libraries supplied with Juno and Kepler. */
- @SafeVarargs
public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(org.hamcrest.Matcher<? extends T>... itemMatchers) {
return no.uio.ifi.refaktor.IsCollectionContaining.<T>hasItems(itemMatchers);
}