Bean124 bean = new Bean124();
String output0 = yaml.dump(bean);
// System.out.println(output0);
assertEquals("!!org.yaml.snakeyaml.issues.issue124.Bean124\na: aaa\nnumbers: [1, 2, 3]\n",
output0);
String output1 = yaml.dumpAsMap(bean);
// System.out.println(output1);
assertEquals("a: aaa\nnumbers:\n- 1\n- 2\n- 3\n", output1);
String output2 = yaml.dump(bean);
// System.out.println(output2);
assertEquals("Yaml.dumpAs() should not have any side effects.", output0, output2);