    @Test
    public void testIssue2() {

        TestBean testBean = new TestBean();
        FXForm fxForm = new FXForm(testBean);
        Assert.assertEquals(4, fxForm.getElements().size());
        fxForm.setSource(null);
        Assert.assertEquals(0, fxForm.getElements().size());
    }