EnvironmentWidget implements RunnerItems<Environment> { @Override public void unSelect() { itemWidget.unSelect(); } @Inject  EnvironmentWidget(final ItemWidget itemWidget,
                             RunnerResources resources,
                             final SelectionManager selectionManager,
                             AppContext appContext); void setScope(@NotNull Scope environmentScope); @Override void select(); @Override void unSelect(); @Override void update(@NotNull Environment environment); @Override Widget asWidget(); static final String DEFAULT_DESCRIPTION; static final String CUSTOM_DESCRIPTION; }
@Test public void shouldUnSelect() { environmentWidget.unSelect(); verify(itemWidget).unSelect(); }