예제 #1
0
 @Test
 public void testCamelCaseTwoWords() {
   assertEquals("WordUp", StringUtils.camelCase("wOrD_UP"));
 }
예제 #2
0
 @Test
 public void testCamelCaseFourWords() {
   assertEquals("WordToYourMother", StringUtils.camelCase("wOrD_to_YOUR_moTHer"));
 }
예제 #3
0
 @Test
 public void testCamelCaseOneWord() {
   assertEquals("Word", StringUtils.camelCase("wOrD"));
 }