|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jmock.lib.action.ActionSequence
public class ActionSequence
Returns the next of a sequence of elements each time it is invoked.
| Constructor Summary | |
|---|---|
ActionSequence(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 ActionSequence(Action... actions)
| Method Detail |
|---|
public java.lang.Object invoke(Invocation invocation)
throws java.lang.Throwable
Invokable
invoke in interface Invokableinvocation - 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 | ||||||||