@Test public void messageListener_traces_addsConsumerSpan() {

  jmsTracing.messageListener(mock(MessageListener.class), true)
    .onMessage(message);
  assertThat(asList(testSpanHandler.takeRemoteSpan(Kind.CONSUMER), testSpanHandler.takeLocalSpan()))
    .extracting(brave.handler.MutableSpan::name)
    .containsExactly("receive", "on-message");
}