}
public void test(TestHarness harness)
{
harness.checkPoint("()");
JSpinner s = new JSpinner();
ChangeListener[] cl = s.getChangeListeners();
harness.check(cl.length, 1);
harness.check(cl[0], s.getEditor());
s.addChangeListener(this);
cl = s.getChangeListeners();
harness.check(cl.length, 2);
harness.check(Arrays.asList(cl).contains(this));
s.removeChangeListener(this);
cl = s.getChangeListeners();
harness.check(cl.length, 1);
harness.check(!Arrays.asList(cl).contains(this));
}