state.add(d);
state.deliver(d);
   public void testNonRecoverableState_9() throws Throwable   {      if (state.isRecoverable())      {         // only non-recoverable state is tested now         return;      }      if (state.acceptReliableMessages())      {         // only state that does not accept reliable messages is tested now         return;      }      MessageReference ref = ms.reference(MessageFactory.createMessage("message0", false, "payload0"));      Delivery d = new SimpleDelivery(channel, ref, false);      state.add(d);      // non-recoverable state, unreliable delivery, non-transactional remove      state.remove(d, null);      assertTrue(state.delivering(null).isEmpty());      assertTrue(state.undelivered(null).isEmpty());      assertTrue(state.browse(null).isEmpty());      log.info("ok");   }