### Question:
NameUtil { public static String mangleNameToClassName(String name) { return toMixedCaseName(toWordList(name), true); } private  NameUtil(); static List<String> toWordList(String s); static List<String> toWordList(String s, boolean allowUnderscore); static void escape(StringBuilder sb, String s, int start); static boolean isJavaIdentifier(String s); static String mangleNameToClassName(String name); static String mangleNameToClassName(String name, boolean allowUnderscores); static String mangleNameToVariableName(String name);  }### Answer:
@Test public void testMangleToClassName() { assertEquals("Abc100Xyz", NameUtil.mangleNameToClassName("abc100xyz")); assertEquals("NameUtilTest", NameUtil.mangleNameToClassName("name_util_test")); assertEquals("NameUtil", NameUtil.mangleNameToClassName("nameUtil")); assertEquals("Int", NameUtil.mangleNameToClassName("int")); }