BptImpl extends InlineBaseImpl implements Bpt { public String getPlainText() { StringBuilder sb = new StringBuilder(); for (CodeFragment fragment : content) { sb.append(fragment.getPlainText()); } return sb.toString(); } BptImpl(Id id, List<? extends CodeFragment> content);  BptImpl(Element element); @Override List<? extends Node> getChildren(); List<? extends CodeFragment> getContent(); Crc getCrc(); CtypeDelim getCtype(); Rid getRid(); void setContent(List<? extends CodeFragment> content); void setCrc(Crc crc); void setCtype(CtypeDelim ctype); void setRid(Rid rid); String getPlainText();  }
@Test public void testGetPlainText() { BptImpl bpt = createDefaultBpt(); assertEquals("cont", bpt.getPlainText()); }