### Question:
NamingUtils { public static String toSourceCodeFormat(final String className) { if (className == null) { return null; } return className.replaceAll("/", "."); } private  NamingUtils(); static String toSourceCodeFormat(final String className); static String toBytecodeFormat(final String className);  }### Answer:
@Test public void testToSourceCodeFormat() { assertThat(toSourceCodeFormat("com/foo/bar/MyClass")).isEqualTo("com.foo.bar.MyClass"); assertThat(toSourceCodeFormat(null)).isNull(); }