WingtipsToZipkinSpanConverterDefaultImpl implements WingtipsToZipkinSpanConverter { protected String stripDashesAndConvertToLowercase(String orig) { if (orig == null) { return null; } StringBuilder sb = new StringBuilder(orig.length()); for (int i = 0; i < orig.length(); i++) { char nextChar = orig.charAt(i); if (nextChar != '-') { sb.append(Character.toLowerCase(nextChar)); } } return sb.toString(); } WingtipsToZipkinSpanConverterDefaultImpl();  WingtipsToZipkinSpanConverterDefaultImpl(boolean enableIdSanitization); @Override zipkin2.Span convertWingtipsSpanToZipkinSpan(Span wingtipsSpan, Endpoint zipkinEndpoint);  }
@Test public void stripDashesAndConvertToLowercase_returns_null_if_passed_nul() { assertThat(impl.stripDashesAndConvertToLowercase(null)).isNull(); }