WingtipsToZipkinSpanConverterDefaultImpl implements WingtipsToZipkinSpanConverter { 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; } WingtipsToZipkinSpanConverterDefaultImpl();  WingtipsToZipkinSpanConverterDefaultImpl(boolean enableIdSanitization); @Override zipkin2.Span convertWingtipsSpanToZipkinSpan(Span wingtipsSpan, Endpoint zipkinEndpoint);  }
@Test public void attemptToSanitizeAsUuid_returns_null_if_passed_nul() { assertThat(impl.attemptToSanitizeAsUuid(null)).isNull(); }