PhImpl extends InlineBaseImpl implements Ph { public String getPlainText() { StringBuilder sb = new StringBuilder(); for (CodeFragment fragment : content) { sb.append(fragment.getPlainText()); } return sb.toString(); } PhImpl(Id id, List<? extends CodeFragment> content);  PhImpl(Element element); @Override List<? extends Node> getChildren(); Assoc getAssoc(); List<? extends CodeFragment> getContent(); Crc getCrc(); CtypePh getCtype(); String getPlainText(); void setAssoc(Assoc assoc); void setContent(List<? extends CodeFragment> content); void setCrc(Crc crc); void setCtype(CtypePh ctype);  }
@Test public void testGetPlainText() { PhImpl ph = createDefaultPh(); assertEquals("cont", ph.getPlainText()); }