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