}
protected void assertEvent(String name, ClassLoader start)
{
assertTrue("Expected an event", events.isEmpty() == false);
ClassNotFoundEvent event = events.remove(0);
assertEquals(name, event.getClassName());
assertEquals(start, event.getClassLoader());
assertEquals(start, event.getSource());
}