Package org.jmock.internal.matcher
Class MethodMatcher
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.TypeSafeMatcher<Method>
-
- org.jmock.internal.matcher.MethodMatcher
-
-
Constructor Summary
Constructors Constructor Description MethodMatcher(Method expectedMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
describeMismatchSafely(Method m, org.hamcrest.Description mismatchDescription)
void
describeTo(org.hamcrest.Description description)
boolean
matchesSafely(Method m)
-
-
-
Constructor Detail
-
MethodMatcher
public MethodMatcher(Method expectedMethod)
-
-
Method Detail
-
matchesSafely
public boolean matchesSafely(Method m)
- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<Method>
-
describeMismatchSafely
protected void describeMismatchSafely(Method m, org.hamcrest.Description mismatchDescription)
- Overrides:
describeMismatchSafely
in classorg.hamcrest.TypeSafeMatcher<Method>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-
-