Strings { public static String capitalize(String word) { word = word.toLowerCase(); word = word.substring(0, 1).toUpperCase() + word.substring(1); return 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 testCapitalize() { assertEquals("Foo bar baz", Strings.capitalize("foo bar baz")); }