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