stateToStateMachine_(newState, fallThroughState) {
    return new StateMachine(newState.id, fallThroughState, [newState], []);
  }
@param {State} newState
@param {number} fallThroughState
@return {StateMachibneTree}