### Question:
SplitOptionsPane extends HBox implements TaskParametersBuildStep<SplitBySizeParametersBuilder>, RestorableView, ResettableView { @Override public void resetView() { field.clear(); group.getToggles().stream().findFirst().ifPresent(t -> t.setSelected(true)); } SplitOptionsPane(); @Override void apply(SplitBySizeParametersBuilder builder, Consumer<String> onError); @Override void saveStateTo(Map<String, String> data); @Override void restoreStateFrom(Map<String, String> data); @Override void resetView();  }### Answer:
@Test public void reset() { SizeUnitRadio kilo = lookup("#unit" + SizeUnit.KILOBYTE.symbol()).queryAs(SizeUnitRadio.class); clickOn("#sizeField").write("100").push(KeyCode.ENTER); clickOn("#unit" + SizeUnit.KILOBYTE.symbol()); TextInputControl field = lookup("#sizeField").queryTextInputControl(); assertEquals("100", field.getText()); assertTrue(kilo.isSelected()); WaitForAsyncUtils.waitForAsyncFx(2000, () -> victim.resetView()); assertEquals("", field.getText()); assertFalse(kilo.isSelected()); }