NullMessageConsumer extends AdaptrisMessageConsumerImp { @Override protected String newThreadName() { return DestinationHelper.threadName(retrieveAdaptrisMessageListener(), getDestination()); } NullMessageConsumer(); @Override void prepare();  }
@Test public void testNewThreadName() { NullMessageConsumer consumer = new NullMessageConsumer(); assertNotNull(consumer.newThreadName()); }