public class XrefExpanderTest extends OboFormatTestBasics {
@Test
public void testExpand() {
OBODoc obodoc = parseOBOFile("treat_xrefs_test.obo");
XrefExpander x = new XrefExpander(obodoc);
x.expandXrefs();
OBODoc tdoc = obodoc.getImportedOBODocs().iterator().next();
assertTrue(!tdoc.getTermFrames().isEmpty());
Frame termFrame = tdoc.getTermFrame("ZFA:0001689");
assert termFrame != null;
assertEquals(2, termFrame.getClauses(OboFormatTag.TAG_INTERSECTION_OF)