children.put(son, "son");
children.put(daughter, "daughter");
father.setChildren(children);
mother.setChildren(children);
//
Representer representer = new Representer();
representer.addClassTag(HumanGen2.class, Tag.MAP);
Yaml yaml = new Yaml(representer);
String output = yaml.dump(son);
// System.out.println(output);
String etalon = Util.getLocalResource("recursive/generics/with-children-2.yaml");
assertEquals(etalon, output);