org.hamcrest.SelfDescribing
, StatesClause
StateMachine
public interface States extends org.hamcrest.SelfDescribing, StatesClause
Modifier and Type | Method | Description |
---|---|---|
void |
become(String nextState) |
Put the state machine into state nextState.
|
States |
startsAs(String initialState) |
Put the state machine into state initialState.
|
is, isNot
States startsAs(String initialState)
initialState
- The initial state of the state machine.void become(String nextState)
nextState
- The next state of the state machine.Copyright © 2003–2018 jMock. All rights reserved.