@Test void testEmptyGraph() { Graph graph = new Graph.Builder().build(); GraphDocument graphDocument = new GraphDocument.Builder().graphs(ImmutableList.of(graph)).build(); assertThrows(PhenolRuntimeException.class, () -> OboGraphDocumentAdaptor.builder().build(graphDocument), "No nodes found in loaded ontology."); }
public static Builder builder() { return new Builder(); }
OboGraphDocumentAdaptor { public static Builder builder() { return new Builder(); } }
OboGraphDocumentAdaptor { public static Builder builder() { return new Builder(); } private  OboGraphDocumentAdaptor(Builder builder); }
OboGraphDocumentAdaptor { public static Builder builder() { return new Builder(); } private  OboGraphDocumentAdaptor(Builder builder); Map<String, String> getMetaInfo(); List<Term> getTerms(); List<Relationship> getRelationships(); Ontology buildOntology(); static Builder builder(); }
OboGraphDocumentAdaptor { public static Builder builder() { return new Builder(); } private  OboGraphDocumentAdaptor(Builder builder); Map<String, String> getMetaInfo(); List<Term> getTerms(); List<Relationship> getRelationships(); Ontology buildOntology(); static Builder builder();  }