public void testPeekWithLimitEntry() {
String queueType = "unknown";
try {
QueuePropertyBase prop = new CbQueueProperty(glob, Constants.RELATING_CALLBACK, "/node/test");
queueType = this.queue.toString();
StorageId queueId = new StorageId(glob, Constants.RELATING_CALLBACK, "QueuePlugin/peekWithLimitEntry");
this.queue.initialize(queueId, prop);
queue.clear();
assertEquals(ME + " wrong size before starting ", 0, queue.getNumOfEntries());
peekWithLimitEntry(this.queue);
}