public <T extends AbstractMessageListenerContainer> T decorateMessageListenerContainer(T container) {
    Advice[] advice = prependTracingMessageContainerAdvice(container);
    if (advice != null) {
      container.setAdviceChain(advice);
    }
    return container;
  }
@Test void decorateDirectMessageListenerContainer__adds_by_default() {
    DirectMessageListenerContainer listenerContainer = new DirectMessageListenerContainer();

    assertThat(rabbitTracing.decorateMessageListenerContainer(listenerContainer))
      .extracting("adviceChain")
      .asInstanceOf(array(Advice[].class))
      .hasSize(1);
  }