Formatter { public static String toPascalCase(String source) { return toPascalCaseImpl(source).toString(); } private  Formatter(); static String toUpperCase(String source); static String toLowerCase(String source); static String toCamelCase(String source); static String toUnderscoreCase(String source); static String toPascalCase(String source);  }
@Test public void testToPascalCase() throws Exception { assertEquals("SomeFoo", Formatter.toPascalCase("some_foo")); assertEquals("SomeFoo", Formatter.toPascalCase("someFoo")); }