public void testEscapeChars() {
OBODoc obodoc = parseOBOFile("escape_chars_test.obo");
assertEquals(3, obodoc.getTermFrames().size());
Frame f1 = obodoc.getTermFrame("GO:0033942");
assertEquals("GO:0033942", f1.getId());
Clause nameClause = f1.getClause(OboFormatTag.TAG_NAME);
assertEquals(
"4-alpha-D-{(1->4)-alpha-D-glucano}trehalose trehalohydrolase activity",
nameClause.getValue());
Frame f2 = obodoc.getTermFrame("CL:0000096");
assertEquals("CL:0000096", f2.getId());
Clause defClause = f2.getClause(OboFormatTag.TAG_DEF);
assertEquals("bla bla .\"", defClause.getValue());
Clause commentClause = f2.getClause(OboFormatTag.TAG_COMMENT);
assertEquals("bla bla bla.\nbla bla (bla).", commentClause.getValue());
}