@Test public void connection_wrapsXaInput() {

  abstract class Both implements XAConnection, Connection {
  }
  assertThat(jmsTracing.connection(mock(Both.class)))
    .isInstanceOf(XAConnection.class);
}