tmpQueue.put(entry, false);
entry = new DummyEntry(glob, PriorityEnum.NORM_PRIORITY, queue.getStorageId(), 100, true);
tmpQueue.put(entry, false);
entry = new DummyEntry(glob, PriorityEnum.NORM_PRIORITY, queue.getStorageId(), 100, true);
tmpQueue.put(entry, false);
tmpQueue.shutdown(); // to allow to initialize again
I_Queue tmpQueue2 = pluginManager.getPlugin(pluginInfo, queueId, cbProp);
long numOfEntries = tmpQueue2.getNumOfEntries();
assertEquals("Wrong number of entries in queue", 3L, numOfEntries);
List<I_Entry> lst = tmpQueue2.peek(-1, -1L);
assertEquals("Wrong number of entries retrieved from queue", 3, lst.size());