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, verify
public MethodNameMatcher(Constraint constraint)
public MethodNameMatcher(java.lang.String methodName)
public boolean matches(Invocation invocation)
public java.lang.StringBuffer describeTo(java.lang.StringBuffer buffer)
SelfDescribing
buffer
- The buffer that the description is appended to.