assertEquals(etalon, output);
TypeDescription humanDescription = new TypeDescription(Human.class);
humanDescription.putMapPropertyType("children", Human.class, Object.class);
Yaml beanLoader = new Yaml(new Constructor(humanDescription));
//
Human son2 = beanLoader.loadAs(output, Human.class);
assertNotNull(son2);
assertEquals("Son", son.getName());
Human father2 = son2.getFather();
assertEquals("Father", father2.getName());