Constructor and Description |
---|
ThrowsAction(Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
Object |
invocation(Object[] arguments,
MethodHandle methodHandle)
Called when an invocation is made.
|
public ThrowsAction(Throwable throwable)
public Object invocation(Object[] arguments, MethodHandle methodHandle) throws Throwable
Action
invocation
in interface Action
arguments
- The arguments passed to the invoked methodmethodHandle
- A method handle that can optionally be used to invoke the equivalent method
of the mocked/intercepted class.Throwable
Copyright © 2005-2013 Agical AB. All Rights Reserved.