* Some checks for the getLabel() and setLabel() methods.
*/
public void testGetSetLabel() {
// we use ValueMarker for the tests, because we need a concrete
// subclass...
ValueMarker m = new ValueMarker(1.1);
m.addChangeListener(this);
this.lastEvent = null;
assertEquals(null, m.getLabel());
m.setLabel("XYZ");
assertEquals("XYZ", m.getLabel());
assertEquals(m, this.lastEvent.getMarker());
// check null argument...
m.setLabel(null);
assertEquals(null, m.getLabel());
}