|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface States
A state machine that is used to constrain the order of invocations. An invocation can be constrained to occur when a state is, or is not, active.
| Method Summary | |
|---|---|
void |
become(String nextState)
Put the state machine into state nextState. |
States |
startsAs(String initialState)
Put the state machine into state initialState. |
| Methods inherited from interface org.jmock.syntax.StatesClause |
|---|
is, isNot |
| Method Detail |
|---|
States startsAs(String initialState)
initialState - The initial state of the state machine.
void become(String nextState)
nextState - The next state of the state machine.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||