### Question:
ProviderTypeItemPresenter extends AbstractHasContentChangeHandlers { public void setup(final ProviderType type, final ProviderTypeStatus status) { this.type = type; view.setProviderTypeName(getDisplayableProviderTypeName(type)); view.setImage(getImageURL(type.getKey())); if (status.equals(ProviderTypeStatus.ENABLED)) { view.disable(); } } @Inject  ProviderTypeItemPresenter(final View view,
                                     final ClientProviderHandlerRegistry handlerRegistry); @PostConstruct void init(); void setup(final ProviderType type,
                      final ProviderTypeStatus status); ProviderType getProviderType(); boolean isSelected(); IsElement getView();  }### Answer:
@Test public void testSetupEnabled() { presenter.setup(providerType, ProviderTypeStatus.ENABLED); verify(view, times(1)).disable(); verifyCommons(); }
@Test public void testSetupDisabled() { presenter.setup(providerType, ProviderTypeStatus.DISABLED); verify(view, never()).disable(); verifyCommons(); }