|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.agical.rmock.core.action.ReturnAction
public class ReturnAction
(c) Agical AB 2005
| Constructor Summary | |
|---|---|
ReturnAction(java.lang.Object valueToReturn)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
java.lang.Object |
invocation(java.lang.Object[] arguments,
MethodHandle methodHandle)
Called when an invocation is made. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReturnAction(java.lang.Object valueToReturn)
object - valueToReturn| Method Detail |
|---|
public java.lang.Object invocation(java.lang.Object[] arguments,
MethodHandle methodHandle)
Action
invocation in interface Actionarguments - 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.
com.agical.rmock.core.InvocationHandler#invocation(java.lang.Object[], com.agical.rmock.core.MethodHandle)public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||