state1.setParent(parent);
states.add(state1);
states.add(state2);
MockErrorReporter errorReporter = new MockErrorReporter();
assertFalse(SCXMLHelper.isLegalConfig(states, errorReporter));
assertEquals(ErrorConstants.ILLEGAL_CONFIG, errorReporter.getErrCode());
assertEquals("Multiple OR states active for state parentid", errorReporter.getErrDetail());
}