@Test public void xaConnectionFactory_doesntDoubleWrap() {

  XAConnectionFactory wrapped = jmsTracing.xaConnectionFactory(mock(XAConnectionFactory.class));
  assertThat(jmsTracing.xaConnectionFactory(wrapped))
    .isSameAs(wrapped);
}