### Question:
SplitOptionsPane extends VBox implements TaskParametersBuildStep<SplitByOutlineLevelParametersBuilder>, RestorableView, ResettableView { @Override public void saveStateTo(Map<String, String> data) { data.put("regexp", defaultString(regexpField.getText())); levelCombo.saveStateTo(data); } SplitOptionsPane(); @Override void resetView(); @Override void apply(SplitByOutlineLevelParametersBuilder builder, Consumer<String> onError); @Override void saveStateTo(Map<String, String> data); @Override void restoreStateFrom(Map<String, String> data);  }### Answer:
@Test public void saveStateEmptyRegexp() { Map<String, String> data = new HashMap<>(); victim.saveStateTo(data); assertEquals("", data.get("regexp")); }