### Question:
ExtractOptionsPane extends HBox implements TaskParametersBuildStep<ExtractParametersBuilder>, RestorableView, ResettableView { @Override public void resetView() { this.field.clear(); } ExtractOptionsPane(); @Override void apply(ExtractParametersBuilder 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() { clickOn("#extractRanges").type(KeyCode.DIGIT5).push(KeyCode.ENTER); ValidableTextField field = lookup("#extractRanges").queryAs(ValidableTextField.class); assertEquals("5", field.getText()); WaitForAsyncUtils.waitForAsyncFx(2000, () -> victim.resetView()); assertEquals("", field.getText()); }