{
public void testNoName()
{
EventProducer p = new EventProducer();
EventConsumer c = new EventConsumer();
EventLinker l = new EventLinkerImpl(null);
l.addEventListener(p, null, c, null);
PropertyChangeEvent e = new PropertyChangeEvent(this, "whatever", "foo", "bar");
p.fire(e);
assertSame(e, c.getLastEvent());
// Exercise code paths for when the producer has already
// been scanned.
EventConsumer c2 = new EventConsumer();
l.addEventListener(p, null, c2, null);
p.fire(e);
assertSame(e, c2.getLastEvent());
}