@SuppressWarnings("deprecation")
public void testDeprecated2() {
DumperOptions options = new DumperOptions();
options.setCanonical(true);
Yaml yaml = new Yaml(new Loader(), new Dumper(options), new Resolver());
String doc = yaml.dump("aaa1234567890");
assertEquals("---\n!!str \"aaa1234567890\"\n", doc);
}