* <li>verifies that the lookup discovery manager utility under test sends
* the expected events, with the expected contents to the first listener
* </ul>
*/
public void run() throws Exception {
discoveryMgr.addDiscoveryListener(new BadTestListener(logger));
super.run();
logger.log(Level.FINE, "Adding bad listener");
boolean exceptionHappened = false;
try {
discoveryMgr.addDiscoveryListener(new BadTestListener(logger));
} catch (BadTestListener.BadListenerException e) {
logger.log(Level.FINEST, "Expected exception happened");
exceptionHappened = true;
}
if (!exceptionHappened) {