ShowRuleNameOptionPresenter { public void setShowRuleName(boolean show) { view.setShowRuleName(show); } ShowRuleNameOptionPresenter(); @Inject  ShowRuleNameOptionPresenter(final View view); View getView(); void addOptionChangeCallback(Callback<Boolean> callback); void setShowRuleName(boolean show); void onRuleNameCheckboxChanged(boolean checked);  }
@Test public void columnShown() { presenter.setShowRuleName(true); verify(view).setShowRuleName(true); }
@Test public void columnHidden() { presenter.setShowRuleName(false); verify(view).setShowRuleName(false); }