### Question:
ProviderConfigurationPagePresenter implements WizardPage { public void clear() { if (providerConfigurationForm != null) { providerConfigurationForm.clear(); } } @Inject  ProviderConfigurationPagePresenter(final View view,
                                              final Event<WizardPageStatusChangeEvent> wizardPageStatusChangeEvent); @PostConstruct void init(); void setProviderConfigurationForm(final ProviderConfigurationForm providerConfigurationForm); @Override void initialise(); @Override void prepareView(); @Override void isComplete(final Callback<Boolean> callback); @Override String getTitle(); @Override Widget asWidget(); void clear(); ProviderConfiguration buildProviderConfiguration();  }### Answer:
@Test public void testClear() { presenter.setProviderConfigurationForm(configurationForm); presenter.clear(); verify(configurationForm, times(1)).clear(); }