ref.incrementChannelCount();
   public void testRecoverableMessageStore_6() throws Exception   {      if (!ms.isRecoverable())      {         // we only test recoverable message stores         return;      }      Message m = MessageFactory.      createCoreMessage(0, true, 777l, 888l, (byte)9, headers, "payload");      // non-recoverable store, non-reliable message, one message      MessageReference ref = ms.reference(m);      assertCorrectReference(ref, ms.getStoreID(), m);            ref.incrementChannelCount();            //Create another reference from that reference      MessageReference ref2 = ref.copy();            ref2.incrementChannelCount();            ref.decrementChannelCount();            MessageReference ref3 = ms.reference(m.getMessageID());      assertNotNull(ref3);      ref3.decrementChannelCount();            assertCorrectReference(ref3, ms.getStoreID(), m);            ref2.decrementChannelCount();      // there's no strong reference to the unique message reference anymore, so the message store      // should be cleaned of everything that pertains to that message      ref3 = ms.reference(m.getMessageID());      assertNull(ref3);   }