@Test public void capitalize() { assertEquals(Utils.capitalize("id"), "Id"); assertEquals(Utils.capitalize("location"), "Location"); assertEquals(Utils.capitalize("ABTesting"), "ABTesting"); assertEquals(Utils.capitalize("user"), "User"); }
static String capitalize(String name) { return name.substring(0, 1).toUpperCase() + name.substring(1); }
Utils { static String capitalize(String name) { return name.substring(0, 1).toUpperCase() + name.substring(1); } }
Utils { static String capitalize(String name) { return name.substring(0, 1).toUpperCase() + name.substring(1); }  }
Utils { static String capitalize(String name) { return name.substring(0, 1).toUpperCase() + name.substring(1); }   }
Utils { static String capitalize(String name) { return name.substring(0, 1).toUpperCase() + name.substring(1); }    }