assertTrue("Memory must have been freed by now", this.memoryManager.getTotalMemoryUsedSize() == 0);
}
public void setUp() throws Exception {
// setup memory space for just 1 message
this.memoryManager = new MemoryBoundedObjectManager("testmanager", MESSAGE_SIZE);
assertEquals("Total memory used must be zero", 0, this.memoryManager.getTotalMemoryUsedSize());
this.queueManager = new MemoryBoundedQueueManager(this.memoryManager);
//this.queue = this.queueManager.getMemoryBoundedQueue(QUEUE_NAME);
this.transientQueueMCM = new TransientQueueBoundedMessageManager(this.queueManager,null,null);
this.transientQueueMCM.start();