}
@Test
public void testMultipleBeanSource() throws IllegalArgumentException {
FXForm fxForm = new FXForm();
fxForm.setSource(new MultipleBeanSource(new TestBean(), new TestBean2()));
Assert.assertEquals(5, fxForm.getElements().size());
Assert.assertTrue(hasElement(fxForm.getElements(), "propInBean2"));
Assert.assertTrue(hasElement(fxForm.getElements(), "stringProperty"));
Assert.assertTrue(hasElement(fxForm.getElements(), "booleanProperty"));
Assert.assertTrue(hasElement(fxForm.getElements(), "doubleProperty"));