State startState = new NamedState("START2");
State endState = new NamedState("END2");
State byState = new NamedState("BYSTATE");
endState.setEndStateFlag(true);
Machine m = new Machine(startState);
startState.addTransition(new WordSetCondition(iv_singleChangeWordSet, false), endState);
startState.addTransition(new TextValueCondition("followed", false), byState);
startState.addTransition(
new WordSetCondition(iv_changeWordSet, false), endState);