@DisplayName("apply throws NullPointerException with null delegate")
@Test
void applyNullDelegate() {

  assertThatNullPointerException()
      .isThrownBy(
          () -> new MicrometerDuplexConnectionInterceptor(meterRegistry).apply(CLIENT, null))
      .withMessage("delegate must not be null");
}