public List<Transition> getTransitions(StateEnum stateFrom) {
        Map<EventEnum, Transition> transitionMap = transitionFromState.get(stateFrom);
        return transitionMap == null ? Collections.<Transition>emptyList() : new ArrayList<Transition>(transitionMap.values());
    }