Strings { public static String pluralize(String word) { return Inflection.pluralize(word); }  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 testPluralizePlurals() { assertEquals("plurals", Strings.pluralize("plurals")); assertEquals("Plurals", Strings.pluralize("Plurals")); }
@Test public void testPluralize() { for (Map.Entry<String, String> entry : singularToPlural_.entrySet()) { String singular = entry.getKey(); String plural = entry.getValue(); assertEquals(plural, Strings.pluralize(singular)); assertEquals(Strings.capitalize(plural), Strings.pluralize(Strings.capitalize(singular))); } }