Assert.assertEquals(1, info.getCountDelta());
ManagementTestBase.consumeMessages(1, session, queue);
Thread.sleep(MessageCounterManagerImpl.MIN_SAMPLE_PERIOD * 2);
jsonString = queueControl.listMessageCounter();
info = MessageCounterInfo.fromJSON(jsonString);
Assert.assertEquals(0, info.getDepth());
Assert.assertEquals(-1, info.getDepthDelta());
Assert.assertEquals(1, info.getCount());
Assert.assertEquals(0, info.getCountDelta());