testString = new String(new char[] { (char)ch });
}
byte[] jvmEncoding = testString.getBytes("UTF-8");
String jvmDecoding = new String(jvmEncoding, 0, jvmEncoding.length, "UTF-8");
String ourDecoding = utf8Encoding.decode(jvmEncoding, 0, jvmEncoding.length);
assertEquals("Test string: " + dumpString(testString), dumpString(testString), dumpString(jvmDecoding));
assertEquals("Test string: " + dumpString(testString), dumpString(testString), dumpString(ourDecoding));
}
}