@Test public void testCamelhumpLowercase() { for (String field : fields) { System.out.println( field + " - " + StringUtil.convertByStyle(field, Style.camelhumpAndLowercase)); } }
@Test public void testLowercase() { for (String field : fields) { Assert.assertEquals(field.toLowerCase(), StringUtil.convertByStyle(field, Style.lowercase)); } }
@Test public void testNormal() { for (String field : fields) { Assert.assertEquals(field, StringUtil.convertByStyle(field, Style.normal)); } }