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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCapture
(Captures<Object> capture, Object value) void
boolean
Object[]
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.int
hashCode()
static boolean
isJavaIdentifier
(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
-