Constructor and Description |
---|
MethodNameMatcher(String nameRegex) |
Modifier and Type | Method and Description |
---|---|
protected void |
describeMismatchSafely(Method item,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
matchesSafely(Method method) |
public MethodNameMatcher(String nameRegex)
public boolean matchesSafely(Method method)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<Method>
protected void describeMismatchSafely(Method item, org.hamcrest.Description mismatchDescription)
describeMismatchSafely
in class org.hamcrest.TypeSafeMatcher<Method>
public void describeTo(org.hamcrest.Description description)
Copyright © 2003–2018 jMock. All rights reserved.