org.jmock.matcher
Class MethodNameMatcher

java.lang.Object
  extended byorg.jmock.matcher.StatelessInvocationMatcher
      extended byorg.jmock.matcher.MethodNameMatcher
All Implemented Interfaces:
InvocationMatcher, Verifiable

public class MethodNameMatcher
extends StatelessInvocationMatcher


Constructor Summary
MethodNameMatcher(Constraint constraint)
           
MethodNameMatcher(java.lang.String methodName)
           
 
Method Summary
 boolean matches(Invocation invocation)
           
 
Methods inherited from class org.jmock.matcher.StatelessInvocationMatcher
invoked, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodNameMatcher

public MethodNameMatcher(Constraint constraint)

MethodNameMatcher

public MethodNameMatcher(java.lang.String methodName)
Method Detail

matches

public boolean matches(Invocation invocation)


Copyright © 2003 jMock.org. All Rights Reserved.