@Test
void shouldBuildCheckBox() throws InterruptedException {

    BooleanProperty testProperty = new SimpleBooleanProperty(true);
    CheckBox result = ConfigurationContext.buildCheckBox(testProperty);
    assertTrue(result.isSelected());
    Platform.runLater(result::fire);
    TestingUtils.waitForRunLater();
    assertFalse(testProperty.getValue());
}