Package org.jmock.core.matcher
Class ArgumentsMatcher
- java.lang.Object
-
- org.jmock.core.matcher.StatelessInvocationMatcher
-
- org.jmock.core.matcher.ArgumentsMatcher
-
- All Implemented Interfaces:
InvocationMatcher,SelfDescribing,Verifiable
public class ArgumentsMatcher extends StatelessInvocationMatcher
-
-
Constructor Summary
Constructors Constructor Description ArgumentsMatcher(Constraint[] constraints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBufferdescribeTo(java.lang.StringBuffer buffer)Appends the description of this object to the buffer.booleanmatches(Invocation invocation)-
Methods inherited from class org.jmock.core.matcher.StatelessInvocationMatcher
hasDescription, invoked, verify
-
-
-
-
Constructor Detail
-
ArgumentsMatcher
public ArgumentsMatcher(Constraint[] constraints)
-
-
Method Detail
-
matches
public boolean matches(Invocation invocation)
-
describeTo
public java.lang.StringBuffer describeTo(java.lang.StringBuffer buffer)
Description copied from interface:SelfDescribingAppends the description of this object to the buffer.- Parameters:
buffer- The buffer that the description is appended to.- Returns:
- The buffer passed to the invokedMethod.
-
-