public final class Invocation extends Object implements Serializable
| Constructor and Description |
|---|
Invocation(Object mock,
Method method,
Object[] args) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCapture(Captures<Object> capture,
Object value) |
void |
clearCaptures() |
boolean |
equals(Object o) |
Object[] |
getArguments()
Returns the arguments passed to the method invocation.
|
Method |
getMethod()
Returns the method invoked on the mock object.
|
Object |
getMock()
Returns the mock object on which the invocation was performed.
|
String |
getMockAndMethodName() |
int |
hashCode() |
String |
toString() |
void |
validateCaptures() |
public Object getMock()
public Method getMethod()
public Object[] getArguments()
public String getMockAndMethodName()
public void validateCaptures()
public void clearCaptures()
Copyright © 2001–2024 EasyMock contributors. All rights reserved.