Constructor and Description |
---|
HasEventListenerFor(Class<?> eventClass)
Creates a new HasEventListenerFor matcher.
|
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
static org.hamcrest.Matcher<Class<?>> |
hasEventListenerFor(Class<?> eventClass) |
boolean |
matchesSafely(Class<?> eventListenerClass) |
public HasEventListenerFor(Class<?> eventClass)
eventClass
- the event class to check forpublic static org.hamcrest.Matcher<Class<?>> hasEventListenerFor(Class<?> eventClass)
public boolean matchesSafely(Class<?> eventListenerClass)
matchesSafely
in class org.junit.internal.matchers.TypeSafeMatcher<Class<?>>
public void describeTo(org.hamcrest.Description description)
Copyright © 2002-2022 Atlassian. All Rights Reserved.