@Test public void testSetEnabled() { tested.setEnabled(true); verify(dropDownButton, times(1)).setDisabled(false); tested.setEnabled(false); verify(dropDownButton, times(1)).setDisabled(true); }
@Override public void setEnabled(boolean enabled) { dropDownButton.setDisabled(!enabled); }
ZoomLevelSelectorView extends Composite implements ZoomLevelSelector.View { @Override public void setEnabled(boolean enabled) { dropDownButton.setDisabled(!enabled); } }
ZoomLevelSelectorView extends Composite implements ZoomLevelSelector.View { @Override public void setEnabled(boolean enabled) { dropDownButton.setDisabled(!enabled); }  }
ZoomLevelSelectorView extends Composite implements ZoomLevelSelector.View { @Override public void setEnabled(boolean enabled) { dropDownButton.setDisabled(!enabled); }  @Override void init(final ZoomLevelSelector presenter); @Override void add(final String text,
                    final Command onClick); @Override void clear(); void setSelectedValue(String selectedItem); @Override void setText(String text); @Override void setEnabled(boolean enabled); @Override void dropUp(); @PreDestroy void destroy(); }
ZoomLevelSelectorView extends Composite implements ZoomLevelSelector.View { @Override public void setEnabled(boolean enabled) { dropDownButton.setDisabled(!enabled); }  @Override void init(final ZoomLevelSelector presenter); @Override void add(final String text,
                    final Command onClick); @Override void clear(); void setSelectedValue(String selectedItem); @Override void setText(String text); @Override void setEnabled(boolean enabled); @Override void dropUp(); @PreDestroy void destroy();  }