public class DbXrefCommentsTest extends OboFormatTestBasics {
@Test
public void testDbXrefCommentsRoundtrip() throws Exception {
OBODoc obodoc = parseOBOFile("db_xref_comments.obo");
Frame frame = obodoc.getTermFrame("MOD:00516");
assertNotNull(frame);
Clause defClause = frame.getClause(OboFormatTag.TAG_DEF);
assertNotNull(defClause);
Collection<Xref> xrefs = defClause.getXrefs();
assertEquals(2, xrefs.size());
Iterator<Xref> iterator = xrefs.iterator();
Xref xref1 = iterator.next();