WingtipsToLightStepLifecycleListener implements SpanLifecycleListener { protected String attemptToSanitizeAsUuid(String originalId) { if (originalId == null) { return null; } if (originalId.length() == 36) { String noDashesAndLowercase = stripDashesAndConvertToLowercase(originalId); if (noDashesAndLowercase.length() == 32 && isLowerHex(noDashesAndLowercase)) { return noDashesAndLowercase; } } return null; } WingtipsToLightStepLifecycleListener(
        @NotNull String serviceName,
        @NotNull String accessToken,
        @NotNull String satelliteUrl,
        int satellitePort
    );  WingtipsToLightStepLifecycleListener(@NotNull JRETracer tracer); @Override void spanSampled(Span wingtipsSpan); @Override void spanStarted(Span wingtipsSpan); @Override void spanCompleted(Span wingtipsSpan);  }
@Test public void attemptToSanitizeAsUuid_returns_null_if_passed_nul() { assertThat(listener.attemptToSanitizeAsUuid(null)).isNull(); }