code: public StateMachine<T> withTransition(T from, T to, T... moreTo) {
          transitions.put(from, EnumSet.of(to, moreTo));
          return this;
      }
docs: Add a valid transition from one state to one or more states