### Question:
ClassNameUtils { public static String internalToBinary(String internalName) { String internalPrimitive = internalPrimitiveToBinaryName.get(internalName); if (internalPrimitive != null) { return internalPrimitive; } if (internalName.startsWith("[")) { return internalName.replace("/", "."); } else { return internalName.substring(1, internalName.length() - 1).replace("/", "."); } }  static String binaryToInternal(String binaryName); static String getComponentBase(String className); static String getComponentType(String className); static int getDimensionCount(String className); static String getPackageName(String className); static @Nullable String getPrimitive(String className); static Class<?> getPrimitiveClass(String className); static @Nullable String getWrapper(String className); static String internalToBinary(String internalName); static String internalToSource(String internalName); static boolean isObject(String type); static boolean isPrimitive(String className); static boolean isPrimitiveOrWrapper(String className); static boolean isWrapper(String className); static String sourceToBinary(String sourceName); static String sourceToInternal(String sourceName); static String toFormat(String className, TypeFormat format); static String toInternal(Class<?> klazz); static List<String> toInternal(Class<?>... classes); static ReferenceType guessReferenceType(@Nonnull String s);  }### Answer:
@Test public void canConvertInternalToBinary() { for (Entry<String, String> entry : internalNameToBinaryName.entrySet()) { String className = entry.getKey(); String expected = entry.getValue(); String actual = ClassNameUtils.internalToBinary(className); assertEquals(expected, actual); } }