@Test
void shouldBuildSpinner() {

    SimpleIntegerProperty length = new SimpleIntegerProperty();
    Spinner<Double> result = ConfigurationContext.buildSpinner(0.3, 10, 0.5, 0.1, length);
    assertEquals(0.5, result.getValue());
    result.increment(5);
    assertEquals(1, result.getValue());
    assertEquals(1000, length.get());
}