|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jmock.lib.action.DoAllAction
public class DoAllAction
Performs multiple actions every time it is invoked.
Constructor Summary | |
---|---|
DoAllAction(Action... actions)
|
Method Summary | |
---|---|
void |
describeTo(Description description)
|
java.lang.Object |
invoke(Invocation invocation)
Performs an action in response to an invocation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DoAllAction(Action... actions)
Method Detail |
---|
public java.lang.Object invoke(Invocation invocation) throws java.lang.Throwable
Invokable
invoke
in interface Invokable
invocation
- The invocation to perform.
null
if the invoked method has a void return type.
java.lang.Throwable
- An exception to be thrown to the caller, if not returning a value. Any checked exception
thrown must be in the throws
list of the invoked method.public void describeTo(Description description)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |