NullMessageProducerManager implements MessageProducerManager { @Override public MessageProducer getProducer() { return producer; }  @Override MessageProducer getProducer();  }
@Test public void testGetProducer() throws Exception { assertTrue(messageProducerManager.getProducer() instanceof NullMessageProducer); }