assertEquals("blah blah blah", chooser.getAnswer());
}
@Test
public void multiplefilefilefilter() throws Exception {
Survey m = new Survey(new XMLSurveyReader(new File("src\\test\\org\\jsurveylib\\model\\question\\typefilechooserfiles\\multiplefilefilefilter.xml")));
m.getQuestionByID("chooser").addAnswerListener(this);
FileChooserQuestion chooser = (FileChooserQuestion) m.getQuestionByID("chooser");
assertEquals(2, chooser.getFileFilters().size());
assertEquals("txt,doc", chooser.getFileFilters().get(0).getExtension());
assertEquals("gif,jpg,png", chooser.getFileFilters().get(1).getExtension());
assertTrue(chooser.isAllFilesFilterEnabled());