public class MethodNameMatcher extends StatelessInvocationMatcher
| Constructor and Description |
|---|
MethodNameMatcher(Constraint constraint) |
MethodNameMatcher(java.lang.String methodName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuffer |
describeTo(java.lang.StringBuffer buffer)
Appends the description of this object to the buffer.
|
boolean |
matches(Invocation invocation) |
hasDescription, 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.