SpanCustomizingApplicationEventListener implements ApplicationEventListener, RequestEventListener { public static SpanCustomizingApplicationEventListener create() { return new SpanCustomizingApplicationEventListener(); } @Inject  SpanCustomizingApplicationEventListener(); static SpanCustomizingApplicationEventListener create(); @Override void onEvent(ApplicationEvent event); @Override RequestEventListener onRequest(RequestEvent requestEvent); @Override void onEvent(RequestEvent event);  }
@Test public void create_creates_a_new_instance() { SpanCustomizingApplicationEventListener result = SpanCustomizingApplicationEventListener.create(); assertThat(result).isNotNull(); assertThat(SpanCustomizingApplicationEventListener.create()).isNotSameAs(result); }