state.add(refs[i]);
state.addReference(refs[i]);
   public void testNonRecoverableState_16() throws Throwable   {      if (state.isRecoverable())      {         // only non-recoverable state is tested now         return;      }      if (!state.acceptReliableMessages())      {         // only state that accepts reliable messages is tested now         return;      }      MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES];      for(int i = 0; i < NUMBER_OF_MESSAGES; i++)      {         refs[i] = ms.reference(MessageFactory.createMessage("message" + i, false, "payload" + i));         // non-recoverable state, unreliable message, non-transactional add         state.add(refs[i]);      }      assertTrue(state.delivering(null).isEmpty());      ChannelTestBase.assertEqualSets(refs, state.undelivered(null));      ChannelTestBase.assertEqualSets(refs, state.browse(null));      log.info("ok");   }