### Question:
PrefixPane extends HBox implements TaskParametersBuildStep<MultipleOutputTaskParametersBuilder<?>>,
        RestorableView, ResettableView, ModuleOwned { public final String getText() { return field.getText(); } PrefixPane(String ownerModule, UserContext userContext); void addMenuItemFor(Prefix... prefixes); void addMenuItemFor(String... prefixes); final String getText(); @Override void resetView(); @Override String getOwnerModule(); @Override void apply(MultipleOutputTaskParametersBuilder<?> builder, Consumer<String> onError); @Override void saveStateTo(Map<String, String> data); @Override void restoreStateFrom(Map<String, String> data);  }### Answer:
@Test public void restoredFieldValue() { when(userContext.getDefaultPrefix(anyString())).thenReturn("Roundkick"); PrefixPane pref = new PrefixPane("module", userContext); assertEquals("Roundkick", pref.getText()); }