verify(listener, atLeastOnce()).notifyClients(eq(NotificationCheck.MESSAGE_COUNT_ALERT), eq(_queue), contains("Maximum count on queue threshold"));
}
public void testNotificationFiredAsync() throws Exception
{
QueueNotificationListener listener = mock(QueueNotificationListener .class);
_queue.enqueue(createMessage(new Long(24)), null);
_queue.enqueue(createMessage(new Long(25)), null);
_queue.enqueue(createMessage(new Long(26)), null);