@Test
public void testOk() {

    YamlSchemeValidator<String> validator = new YamlSchemeValidator<> ("root", List.of("element1", "element2"), List.of(),
            SEE_MORE_INFO, List.of("1"),"the config file test.yaml",(es)-> es);
    String cfg="root:\n  - element1: 1\n    element2: 2";
    assertNull(validator.validateStructureOfDispatcherYaml(cfg));
}