org.jmock.internal.matcher
Class MethodMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<Method>
          extended by org.jmock.internal.matcher.MethodMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<Method>, org.hamcrest.SelfDescribing

public class MethodMatcher
extends org.hamcrest.TypeSafeMatcher<Method>


Constructor Summary
MethodMatcher(Method expectedMethod)
           
 
Method Summary
protected  void describeMismatchSafely(Method m, org.hamcrest.Description mismatchDescription)
           
 void describeTo(org.hamcrest.Description description)
           
 boolean matchesSafely(Method m)
           
 
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodMatcher

public MethodMatcher(Method expectedMethod)
Method Detail

matchesSafely

public boolean matchesSafely(Method m)
Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<Method>

describeMismatchSafely

protected void describeMismatchSafely(Method m,
                                      org.hamcrest.Description mismatchDescription)
Overrides:
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<Method>

describeTo

public void describeTo(org.hamcrest.Description description)


Copyright © 2003-2012 jMock. All Rights Reserved.