List<ArrayMember> list = new ArrayList<ArrayMember>(2);
list.add(new ArrayMember("John", 111));
list.add(new ArrayMember("Tony", 222));
bean.setList(list);
Yaml yaml = new Yaml();
String output = yaml.dumpAsMap(bean);
// System.out.println(output);
assertEquals(Util.getLocalResource("issues/issue74-array1.txt"), output);
Yaml beanLoader = new Yaml();
ArrayBean parsed = beanLoader.loadAs(output, ArrayBean.class);
// System.out.println(parsed);