assertEquals("1", model.getAnswer("scriptsRun"));
}
@Test
public void loadXMLAnswers() throws Exception {
Survey model = new Survey(new XMLSurveyReader(new File("src\\test\\org\\jsurveylib\\model\\script\\onanswerchangedfiles\\loadxmlanswers.xml")));
model.loadXMLAnswers("src\\test\\org\\jsurveylib\\model\\script\\onanswerchangedfiles\\loadxmlanswersresult.xml");
Question modifyee = model.getQuestionByID("modifyee");
assertFalse(modifyee.isVisible());
assertFalse(modifyee.isEnabled());
assertFalse(modifyee.isValid());