MockSource source = new MockSource();
VetoableChangeSupport support = new VetoableChangeSupport(source);
VetoableChangeListener proxy = EventHandler.create(
VetoableChangeListener.class, source, "label", "source.text");
support.addVetoableChangeListener("label", proxy);
String newText = "new Text value";
source.setText(newText);
support.fireVetoableChange("text", true, false);
assertEquals("label.default", source.getLabel());