Map<String,Object> queueAttributes = new HashMap<String, Object>();
queueAttributes.put(Queue.ID, UUID.randomUUID());
queueAttributes.put(Queue.NAME, getName());
final VirtualHost virtualHost = mock(VirtualHost.class);
when(virtualHost.getSecurityManager()).thenReturn(mock(SecurityManager.class));
when(virtualHost.getEventLogger()).thenReturn(new EventLogger());
_testQueue = new StandardQueue(virtualHost, queueAttributes);
_sqel = (StandardQueueEntryList) _testQueue.getEntries();
for(int i = 1; i <= 100; i++)
{