MCPcopy Create free account
hub / github.com/dooApp/FXForm2 / testIssue2

Method testIssue2

core/src/test/java/com/dooapp/fxform/FXFormTest.java:32–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 public JavaFXRule javaFXRule = new JavaFXRule();
31
32 @Test
33 public void testIssue2() {
34 TestBean testBean = new TestBean();
35 FXForm fxForm = new FXForm(testBean);
36 Assert.assertEquals(4, fxForm.getElements().size());
37 fxForm.setSource(null);
38 Assert.assertEquals(0, fxForm.getElements().size());
39 }
40
41 @Test
42 public void testSetSource() {

Callers

nothing calls this directly

Calls 2

setSourceMethod · 0.95
getElementsMethod · 0.65

Tested by

no test coverage detected