public void _removeActivationEventListener() {
    requiredMethod("addActivationEventListener()");
    listenerCalled = false;
    oObj.removeActivationEventListener(listener);

    XSpreadsheet org = xSpreadsheetView.getActiveSheet();
    xSpreadsheetView.setActiveSheet(two);

    if (listenerCalled) {
      log.println("Listener was called eventhough it is removed");
    }

    xSpreadsheetView.setActiveSheet(org);
    tRes.tested("removeActivationEventListener()", !listenerCalled);
  }
  public void _addActivationEventListener() {

    log.println("trying to add an invalid listener");
    oObj.addActivationEventListener(listener);
    log.println(".... OK");

    log.println("adding a valid listener");
    listener = new MyListener();
    oObj.addActivationEventListener(listener);

    XSpreadsheet org = xSpreadsheetView.getActiveSheet();
    xSpreadsheetView.setActiveSheet(two);

    if (!listenerCalled) {
      log.println("Listener wasn't called");
    }

    xSpreadsheetView.setActiveSheet(org);
    tRes.tested("addActivationEventListener()", listenerCalled);
  }