AbstractWizardPage implements WizardPage<T> { @Override public void setUpdateDelegate(@NotNull Wizard.UpdateDelegate delegate) { this.updateDelegate = delegate; } protected  AbstractWizardPage(); @Override void init(T dataObject); @Override void setContext(@NotNull Map<String, String> context); @Override void setUpdateDelegate(@NotNull Wizard.UpdateDelegate delegate); @Override boolean isCompleted(); @Override boolean canSkip();  }
@Test public void shouldSetUpdateDelegate() throws Exception { Wizard.UpdateDelegate updateDelegate = mock(Wizard.UpdateDelegate.class); wizardPage.setUpdateDelegate(updateDelegate); assertEquals(updateDelegate, wizardPage.updateDelegate); }