Exemplo n.º 1
0
 private void assertTransform(
     String message, String expected, StringTransform t, StringTransform back, String... source) {
   for (String s : source) {
     assertEquals(message + " " + s, expected, t.transform(s));
   }
   assertEquals(message + " " + expected, source[0], back.transform(expected));
 }
Exemplo n.º 2
0
 private void assertTransform(String message, String expected, StringTransform t, String source) {
   assertEquals(message + " " + source, expected, t.transform(source));
 }