/** Test methods. */
  private void compileTestMethods() {
    UMLAction to = new UMLAction(new String(), true);

    // to.actionPerformed(new ActionEvent());
    // to.markNeedsSave();
    to.updateEnabled(new Object());
    to.updateEnabled();
    to.shouldBeEnabled();
  }
 /** @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) */
 public void actionPerformed(ActionEvent e) {
   super.actionPerformed(e);
   if (e.getSource() instanceof UMLCheckBox2) {
     UMLCheckBox2 source = (UMLCheckBox2) e.getSource();
     Object target = source.getTarget();
     if (Model.getFacade().isAAssociationEnd(target)) {
       Object m = /*(MAssociationEnd)*/ target;
       if (source.isSelected()) {
         Model.getCoreHelper().setOrdering(m, Model.getOrderingKind().getOrdered());
       } else {
         Model.getCoreHelper().setOrdering(m, Model.getOrderingKind().getUnordered());
       }
     }
   }
 }
 /**
  * Function never actually called. Provided in order to make sure that the static interface has
  * not changed.
  */
 private void compileTestStatics() {
   UMLAction.getMnemonic(new String());
 }
 /** Testing constructor. */
 public void testCreate3() {
   UMLAction to = new UMLAction(new String("hejsan"), UMLAction.NO_ICON);
   assertTrue("Disabled", to.shouldBeEnabled());
 }