ref3.decrementChannelCount();
   public void testRecoverableMessageStore_7() 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);      ref.incrementChannelCount();      assertCorrectReference(ref, ms.getStoreID(), m);            MessageReference ref2 = ms.reference(ref.getMessageID());      ref2.incrementChannelCount();      assertNotNull(ref2);            assertCorrectReference(ref2, ms.getStoreID(), m);            ref2.decrementChannelCount();            //Acquire multiple times - this is what would happen with multiple deliveries      //for the same reference      ref.incrementChannelCount();      ref.incrementChannelCount();      ref.incrementChannelCount();            ref.decrementChannelCount();            MessageReference ref3 = ms.reference(ref.getMessageID());      ref3.incrementChannelCount();      assertNotNull(ref3);            assertCorrectReference(ref3, ms.getStoreID(), m);      ref3.decrementChannelCount();            ref.decrementChannelCount();            ref3 = ms.reference(ref.getMessageID());      ref3.incrementChannelCount();      assertNotNull(ref3);            assertCorrectReference(ref3, ms.getStoreID(), m);      ref3.decrementChannelCount();            ref.decrementChannelCount();            ref3 = ms.reference(ref.getMessageID());      ref3.incrementChannelCount();      assertNotNull(ref3);            assertCorrectReference(ref3, ms.getStoreID(), m);      ref.decrementChannelCount();            ref.decrementChannelCount();      ref3 = ms.reference(ref.getMessageID());      assertNull(ref3);                   }