SchemaLoader { public static ConfigSchema loadConfigSchemaFromYaml(InputStream sourceStream) throws IOException, SchemaLoaderException { return loadConfigSchemaFromYaml(loadYamlAsMap(sourceStream)); }  static Map<String, Object> loadYamlAsMap(InputStream sourceStream); static ConfigSchema loadConfigSchemaFromYaml(InputStream sourceStream); static ConfigSchema loadConfigSchemaFromYaml(Map<String, Object> yamlAsMap); static ConvertableSchema<ConfigSchema> loadConvertableSchemaFromYaml(InputStream inputStream); static ConvertableSchema<ConfigSchema> loadConvertableSchemaFromYaml(Map<String, Object> yamlAsMap);  }
@Test public void testMinimalConfigNoVersion() throws IOException, SchemaLoaderException { ConfigSchema configSchema = SchemaLoader.loadConfigSchemaFromYaml(SchemaLoaderTest.class.getClassLoader().getResourceAsStream("config-minimal.yml")); validateMinimalConfigVersion1Parse(configSchema); }