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 TypeMethodDescriptionvoidPut the state machine into state nextState.voiddescribeTo(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:StatesPut the state machine into state initialState. -
become
Description copied from interface:StatesPut the state machine into state nextState. -
is
- Specified by:
isin interfaceStatesClause
-
isNot
- Specified by:
isNotin interfaceStatesClause
-
describeTo
public void describeTo(org.hamcrest.Description description) - Specified by:
describeToin interfaceorg.hamcrest.SelfDescribing
-