Пример #1
0
 @Test
 public void testCamelhumpLowercase() {
   for (String field : fields) {
     System.out.println(
         field + " - " + StringUtil.convertByStyle(field, Style.camelhumpAndLowercase));
   }
 }
Пример #2
0
 @Test
 public void testLowercase() {
   for (String field : fields) {
     Assert.assertEquals(field.toLowerCase(), StringUtil.convertByStyle(field, Style.lowercase));
   }
 }
Пример #3
0
 @Test
 public void testNormal() {
   for (String field : fields) {
     Assert.assertEquals(field, StringUtil.convertByStyle(field, Style.normal));
   }
 }