SubImpl extends XliffElementImpl implements Sub { public String getPlainText() { StringBuilder sb = new StringBuilder(); for (TextFragment fragment : content) { sb.append(fragment.getPlainText()); } return sb.toString(); } SubImpl(List<? extends TextFragment> content);  SubImpl(Element element); @Override List<? extends Node> getChildren(); List<? extends TextFragment> getContent(); CtypeDelim getCtype(); DataType getDataType(); Xid getXid(); void setContent(List<? extends TextFragment> content); void setCtype(CtypeDelim ctype); void setDataType(DataType dataType); void setXid(Xid xid); String getPlainText();  }
@Test public void testGetPlainText() { SubImpl sub = createDefaultSub(); assertEquals("cont", sub.getPlainText()); }