fooOrBarInCOrFooInD = States.class.getDeclaredMethod("fooOrBarInCOrFooInD", new Class[0]);
}
public void testCreate() throws Exception {
States states = new States();
StateMachine sm = StateMachineFactory.getInstance(Transition.class).create(States.A, states);
State a = sm.getState(States.A);
State b = sm.getState(States.B);
State c = sm.getState(States.C);
State d = sm.getState(States.D);
assertEquals(States.A, a.getId());
assertNull(a.getParent());
assertEquals(States.B, b.getId());
assertSame(a, b.getParent());