### Question:
MergeOptionsPane extends VBox implements TaskParametersBuildStep<MergeParametersBuilder>, RestorableView, ResettableView { @Override public void apply(MergeParametersBuilder builder, Consumer<String> onError) { builder.outlinePolicy(outline.getSelectionModel().getSelectedItem().getKey()); builder.acroFormsPolicy(acroForms.getSelectionModel().getSelectedItem().getKey()); builder.tocPolicy(toc.getSelectionModel().getSelectedItem().getKey()); builder.blankPageIfOdd(blankIfOdd.isSelected()); builder.footer(footer.isSelected()); builder.normalize(normalize.isSelected()); } MergeOptionsPane(); @Override void resetView(); @Override void apply(MergeParametersBuilder builder, Consumer<String> onError); @Override void saveStateTo(Map<String, String> data); @Override void restoreStateFrom(Map<String, String> data);  }### Answer:
@Test public void validSteps() { clickOn("#blankIfOddCheck"); victim.apply(builder, onError); verify(builder).outlinePolicy(eq(OutlinePolicy.RETAIN)); verify(builder).blankPageIfOdd(true); verify(builder).footer(false); verify(builder).normalize(false); verify(builder).acroFormsPolicy(AcroFormPolicy.MERGE); verify(builder).tocPolicy(ToCPolicy.NONE); verify(onError, never()).accept(anyString()); }