source: class TestYamlSchemeValidator {
  
      public static final String SEE_MORE_INFO;
  
      @Test
      public void testRootElement() {
  
target:         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="root1:\n  - element1: 1\n    element2: 2";
          assertNotNull(validator.validateStructureOfDispatcherYaml(cfg));
      }
  
  }