public void testNotificationListenerCalled() throws Exception
{
NotificationListener listener = mock(NotificationListener.class);
_queueMBean.addNotificationListener(listener, null, null);
NotificationCheck notification = mock(NotificationCheck.class);
String notificationMsg = "Test notification message";
_queueMBean.notifyClients(notification, _mockQueue, notificationMsg);
verify(listener).handleNotification(isNotificationWithMessage(notificationMsg),
isNull());