FingerprintKeyer implements Serializable { protected String asciify(String s) { char[] c = s.toCharArray(); StringBuilder b = new StringBuilder(); for (char element : c) { b.append(translate(element)); } return b.toString(); }  String key(String str);  }
@Test public void testAsciify() { FingerprintKeyer keyer = new FingerprintKeyer(); for (String[] element : asciiTestStr) { assertEquals(element[1], keyer.asciify(element[0])); } }