@Test public void shouldWrapQueueSender() throws Exception { final QueueSender sender = mock(QueueSender.class); TraceeMessageWriter.wrap(sender).close(); verify(sender).close(); }
public static MessageProducer wrap(MessageProducer messageProducer) { return new TraceeMessageProducer(messageProducer); }
TraceeMessageWriter { public static MessageProducer wrap(MessageProducer messageProducer) { return new TraceeMessageProducer(messageProducer); } }
TraceeMessageWriter { public static MessageProducer wrap(MessageProducer messageProducer) { return new TraceeMessageProducer(messageProducer); } private  TraceeMessageWriter(); }
TraceeMessageWriter { public static MessageProducer wrap(MessageProducer messageProducer) { return new TraceeMessageProducer(messageProducer); } private  TraceeMessageWriter(); static MessageProducer wrap(MessageProducer messageProducer); static QueueSender wrap(QueueSender queueSender); static TopicPublisher wrap(TopicPublisher topicPublisher); }
TraceeMessageWriter { public static MessageProducer wrap(MessageProducer messageProducer) { return new TraceeMessageProducer(messageProducer); } private  TraceeMessageWriter(); static MessageProducer wrap(MessageProducer messageProducer); static QueueSender wrap(QueueSender queueSender); static TopicPublisher wrap(TopicPublisher topicPublisher);  }