@Test public void connectionFactory_wrapsXaInput() {

  abstract class Both implements XAConnectionFactory, ConnectionFactory {
  }
  assertThat(jmsTracing.connectionFactory(mock(Both.class)))
    .isInstanceOf(XAConnectionFactory.class);
}