### Question:
NamingUtils { public static String toBytecodeFormat(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 testToBytecodeFormat() { assertThat(toBytecodeFormat("com.foo.bar.MyClass")).isEqualTo("com/foo/bar/MyClass"); assertThat(toBytecodeFormat(null)).isNull(); }