@Test
 public void testToUnderscore() {
   long t0 = System.currentTimeMillis();
   final Object[][] params = {
     // [expectedResult, charSeqs]
     {"", null},
     {"", ""},
     {"", " "},
     {"", "\n \t"},
     {"TEST", "test"},
     {"TEST", "  test"},
     {"TEST", "test  "},
     {"TEST", "  test  "},
     {"TEST_TEST", "test test"},
     {"TEST_TEST", "testTest"},
     {"TEST_TEST", "test_test"},
     {"TEST_TEST001", "test_test001"},
     {"001_TEST_TEST", "001test_test"},
   };
   for (int i = 0; i < params.length; i++) {
     Object[] p = params[i];
     final EnhancedStringBuilder builder = new EnhancedStringBuilder(p[1]);
     assertEquals("Failed with params at line " + i, p[0], builder.toUnderscore().toString());
   }
   long t1 = System.currentTimeMillis();
   infoTime("toUnderscore() tested in {0} msecs", t0, t1);
 }
 @Test
 public void testCapitalizeAll() {
   long t0 = System.currentTimeMillis();
   final Object[][] params = {
     // [expectedResult, charSeqs]
     {"", null},
     {"", ""},
     {" ", " "},
     {"\n \t", "\n \t"},
     {"Test", "test"},
     {"  Test", "  test"},
     {"Test  ", "test  "},
     {"  Test  ", "  test  "},
     {"Test Test", "test test"},
     {"Test   Test", "test   test"},
     {"Test_Test", "test_test"},
     {"Test_Test001", "test_test001"},
     {"001test_Test", "001test_test"},
     {
       "O Rato Roeu A Roupa Do Rei De Roma. Depois Fugiu.",
       "o rato roeu a roupa do rei de roma. depois fugiu."
     },
     {
       "   O Rato Roeu A Roupa Do Rei De Roma. Depois Fugiu.",
       "   o rato roeu a roupa do rei de roma. depois fugiu."
     },
     {
       " -  O Rato Roeu A Roupa Do Rei De Roma. Depois Fugiu.",
       " -  o rato roeu a roupa do rei de roma. depois fugiu."
     }
   };
   for (int i = 0; i < params.length; i++) {
     Object[] p = params[i];
     final EnhancedStringBuilder builder = new EnhancedStringBuilder(p[1]);
     assertEquals("Failed with params at line " + i, p[0], builder.capitalizeAll().toString());
   }
   long t1 = System.currentTimeMillis();
   infoTime("capitalizeAll() tested in {0} msecs", t0, t1);
 }