public void testExplicitlyConiguredNotificationListenerRegistration() throws InterruptedException
{
ServerNotificationManager manager = muleContext.getNotificationManager();
assertTrue(manager.getListeners().contains(
new ListenerSubscriptionPair((ServerNotificationListener) muleContext.getRegistry().lookupObject(
"listener"), null)));
assertTrue(manager.getListeners().contains(
new ListenerSubscriptionPair((ServerNotificationListener) muleContext.getRegistry().lookupObject(
"listener2"), null)));
assertTrue(manager.getListeners().contains(
new ListenerSubscriptionPair((ServerNotificationListener) muleContext.getRegistry().lookupObject(
"securityListener"), null)));
assertTrue(manager.getListeners().contains(
new ListenerSubscriptionPair((ServerNotificationListener) muleContext.getRegistry().lookupObject(
"listener3"), "*")));
}