public void testTakePutOverCapacity() throws Exception
{
final TransactionalQueueManager mgr = createQueueManager();
mgr.start();
mgr.setDefaultQueueConfiguration(new QueueConfiguration(2, new SimpleMemoryObjectStore()));
final Latch latch = new Latch();
Thread t = new Thread()
{