public class CastingMatchers extends Object
Modifier and Type | Method and Description |
---|---|
static <T,S extends T> |
cast(Class<S> clazz,
org.hamcrest.Matcher<? extends S> matcher) |
public static <T,S extends T> org.hamcrest.Matcher<T> cast(Class<S> clazz, org.hamcrest.Matcher<? extends S> matcher)
This work is licensed under a Creative Commons Attribution 4.0 International License.