_sqel = (StandardQueueEntryList) _testQueue.getEntries();
for(int i = 1; i <= 100; i++)
{
final ServerMessage message = mock(ServerMessage.class);
when(message.getMessageNumber()).thenReturn((long) i);
MessageReference ref = mock(MessageReference.class);
when(ref.getMessage()).thenReturn(message);
when(message.newReference()).thenReturn(ref);
final QueueEntry bleh = _sqel.add(message);
assertNotNull("QE should not have been null", bleh);
}