java.lang.Object
org.easymock.internal.Invocation
- All Implemented Interfaces:
Serializable
Represents a method invocation on a mock object. It's used for record one or for actual calls.
- Author:
- OFFIS, Tammo Freese
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCapture(Captures<Object> capture, Object value) voidbooleanObject[]Returns the arguments passed to the method invocation.Returns the method invoked on the mock object.getMock()Returns the mock object on which the invocation was performed.inthashCode()static booleanisJavaIdentifier(String mockName) toString()void
-
Constructor Details
-
Invocation
-
-
Method Details
-
getMock
Returns the mock object on which the invocation was performed.- Returns:
- the mock object on which the invocation was performed.
-
getMethod
Returns the method invoked on the mock object.- Returns:
- the method invoked on the mock object.
-
getArguments
Returns the arguments passed to the method invocation.- Returns:
- the arguments passed to the method invocation.
-
equals
-
hashCode
public int hashCode() -
toString
-
getMockAndMethodName
-
addCapture
-
validateCaptures
public void validateCaptures() -
clearCaptures
public void clearCaptures() -
isJavaIdentifier
-