/**
* Tests state transitions.
*/
public void testComponentLifeCycleTransitions() {
ComponentState myState = ComponentState.UNDER_DEVELOPMENT;
myState = ComponentState.change(myState, ComponentAction.SUBMIT);
assertEquals(ComponentState.UNTESTED, myState);
myState = ComponentState.change(myState, ComponentAction.FINISH_TEST);