public void testSerialization() {
// test serialization of all Unicode codepoints
Yaml yaml = createYaml();
for (int c = Character.MIN_VALUE; c <= Character.MAX_VALUE; c++) {
String original = Character.toString((char) c);
String serialized = yaml.dump(original);
// "On output, a YAML processor must only produce these acceptable
// characters,
// and should also escape all non-printable Unicode characters."
for (int i = 0; i < serialized.length(); i++) {