Package org.jmock.internal
Class StateMachine
java.lang.Object
org.jmock.internal.StateMachine
- All Implemented Interfaces:
org.hamcrest.SelfDescribing
,States
,StatesClause
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Put the state machine into state nextState.void
describeTo
(org.hamcrest.Description description) Put the state machine into state initialState.toString()
-
Field Details
-
name
-
currentState
-
-
Constructor Details
-
StateMachine
-
-
Method Details
-
toString
-
startsAs
Description copied from interface:States
Put the state machine into state initialState. -
become
Description copied from interface:States
Put the state machine into state nextState. -
is
- Specified by:
is
in interfaceStatesClause
-
isNot
- Specified by:
isNot
in interfaceStatesClause
-
describeTo
public void describeTo(org.hamcrest.Description description) - Specified by:
describeTo
in interfaceorg.hamcrest.SelfDescribing
-