Strings { public static String classify(String tableName) { return camelize(singularize(tableName.replaceAll(".*\\.", ""))); }  static String tableize(String word); static String pluralize(String word); static String singularize(String word); static String underscore(String word); static String camelize(String word); static String camelize(String word, boolean lowercaseFirstLetter); static String depackage(String word); static String foreignKey(String className); static String foreignKey(String className, boolean separateIdWithUnderscore); static String titleize(String word); static String classify(String tableName); static String humanize(String word); static String ordinalize(int n); static String dasherize(String word); static String capitalize(String word);  }
@Test public void testClassify() { for (Map.Entry<String, String> entry : classNameToTableName_.entrySet()) { assertEquals(entry.getKey(), Strings.classify(entry.getValue())); } }