public IAction Execute(CompositeState state, UpdateSubstateMessageAction action)
 {
     Console.WriteLine(action.GetType());
     return(NullAction.Instance);
 }
 public CompositeState Reduce(CompositeState state, UpdateSubstateMessageAction action)
 {
     state.SubState.SubStateMessage = action.Message;
     return(state);
 }