e.addActionListener(this);
listeners = tf.getActionListeners();
harness.check(listeners.length, 1);
harness.check(listeners[0], this);
e.removeActionListener(this);
listeners = tf.getActionListeners();
harness.check(listeners.length, 0);
// remove a listener that isn't there
e.removeActionListener(this);