/** Tests the attribute radio button click handler. */
  @Test
  public final void attrClickHandlerTest() {
    context.checking(
        new Expectations() {
          {
            oneOf(view).onAttributeSearchSelected();
          }
        });

    attrClickHandlerInt.getObject().onClick(null);

    context.assertIsSatisfied();
  }
  /** Tests the verify command. */
  @Test
  public final void verifyCommandTest() {
    final String memberCriteria = "some.group";
    final Boolean groupSelect = Boolean.TRUE;

    context.checking(
        new Expectations() {
          {
            oneOf(view).onVerifyClicked();

            oneOf(view).getMembershipCriteria();
            will(returnValue(memberCriteria));

            oneOf(view).isGroupSelected();
            will(returnValue(groupSelect));

            oneOf(model).addMembershipCriteria(memberCriteria, groupSelect);
          }
        });

    verifyCommandInt.getObject().execute();

    context.assertIsSatisfied();
  }