InvocationMatcher, SelfDescribing, Verifiablepublic class MethodNameMatcher extends StatelessInvocationMatcher
| Constructor | Description |
|---|---|
MethodNameMatcher(java.lang.String methodName) |
|
MethodNameMatcher(Constraint constraint) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.StringBuffer |
describeTo(java.lang.StringBuffer buffer) |
Appends the description of this object to the buffer.
|
boolean |
matches(Invocation invocation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasDescription, invoked, verifypublic MethodNameMatcher(Constraint constraint)
public MethodNameMatcher(java.lang.String methodName)
public boolean matches(Invocation invocation)
public java.lang.StringBuffer describeTo(java.lang.StringBuffer buffer)
SelfDescribingbuffer - The buffer that the description is appended to.