public void testMessageRemains() throws AMQException
{
AMQMessage message = new AMQMessage(_store, null);
_store.put(message);
Assert.assertTrue(_store.getMessageMap().size() == 1);
message.incrementReference();
message.decrementReference();
Assert.assertTrue(_store.getMessageMap().size() == 1);
}
public static junit.framework.Test suite()