@Test public void duplicate_keys_fail_to_parse() throws Exception { assertThatThrownBy(() -> ConjureParser.parse(new File("src/test/resources/duplicate-keys.yml"))) .hasMessageContaining("Duplicate field 'services'"); }
public static ConjureSourceFile parse(File file) { RecursiveParser parser = new RecursiveParser(); return parser.parse(file); }
ConjureParser { public static ConjureSourceFile parse(File file) { RecursiveParser parser = new RecursiveParser(); return parser.parse(file); } }
ConjureParser { public static ConjureSourceFile parse(File file) { RecursiveParser parser = new RecursiveParser(); return parser.parse(file); } private  ConjureParser(); }
ConjureParser { public static ConjureSourceFile parse(File file) { RecursiveParser parser = new RecursiveParser(); return parser.parse(file); } private  ConjureParser(); static ConjureSourceFile parse(File file); static AnnotatedConjureSourceFile parseAnnotated(File file); static List<AnnotatedConjureSourceFile> parseAnnotated(Collection<File> files); }
ConjureParser { public static ConjureSourceFile parse(File file) { RecursiveParser parser = new RecursiveParser(); return parser.parse(file); } private  ConjureParser(); static ConjureSourceFile parse(File file); static AnnotatedConjureSourceFile parseAnnotated(File file); static List<AnnotatedConjureSourceFile> parseAnnotated(Collection<File> files);  }