### Question:
WF10ProviderConfigPresenter extends AbstractHasContentChangeHandlers implements ProviderConfigurationForm { public String getUsername() { return view.getUsername(); } @Inject  WF10ProviderConfigPresenter(final View view,
                                       final Caller<WildflyClientService> wildflyClientService); @PostConstruct void init(); View getView(); @Override ProviderConfiguration buildProviderConfiguration(); @Override void clear(); @Override void load(final Provider provider); String getProviderName(); String getHost(); String getPort(); String getManagementPort(); String getUsername(); String getPassword(); void isValid(final Callback<Boolean> callback); @Override String getWizardTitle(); @Override void disable();  }### Answer:
@Test public void testGetUser() { when(view.getUsername()).thenReturn(USER_VALUE); assertEquals(USER_VALUE, presenter.getUsername()); }