@DisplayName("apply throws NullPointerException with null connectionType")
@Test
void applyNullConnectionType() {

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