public class IsEquivalent<S,T extends org.hamcrest.Matcher<S>>
extends org.hamcrest.BaseMatcher<S>
| Constructor and Description |
|---|
IsEquivalent(Class<T> interfaceClazz) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeMismatch(Object item,
org.hamcrest.Description description) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
equals(Object obj) |
static <S,T extends org.hamcrest.Matcher<S>> |
equivalentTo(Class<T> interfaceClazz) |
protected MethodInvocationHandler |
handle(String name) |
boolean |
matches(Object item) |
public static <S,T extends org.hamcrest.Matcher<S>> T equivalentTo(Class<T> interfaceClazz)
protected MethodInvocationHandler handle(String name)
public boolean matches(Object item)
public void describeTo(org.hamcrest.Description description)
public void describeMismatch(Object item, org.hamcrest.Description description)
Copyright © 2017. All rights reserved.