GroupImpl extends XliffElementImpl implements Group { @Override public List<? extends Node> getChildren() { ArrayList<Element> children = new ArrayList<Element>(); children.addAll(contextGroups); children.addAll(countGroups); children.addAll(propGroups); children.addAll(notes); children.addAll(nonXliffElements); children.addAll(structuralUnits); return children; } GroupImpl(List<? extends StructuralUnit> structuralUnits);  GroupImpl(org.w3c.dom.Element element); @Override List<? extends Node> getChildren(); CharClass getCharClass(); List<ContextGroup> getContextGroups(); Coord getCoord(); List<CountGroup> getCountGroups(); CssStyle getCssStyle(); DataType getDataType(); ExStyle getExStyle(); ExType getExType(); ExtraData getExtraData(); Font getFont(); HelpId getHelpId(); Id getId(); MaxBytes getMaxBytes(); MaxHeight getMaxHeight(); MaxWidth getMaxWidth(); Menu getMenu(); MenuName getMenuName(); MenuOption getMenuOption(); MergedTrans getMergedTrans(); MinBytes getMinBytes(); MinHeight getMinHeight(); MinWidth getMinWidth(); Collection<NonXliffAttribute> getNonXliffAttributes(); List<NonXliffElement> getNonXliffElements(); List<Note> getNotes(); List<com.sap.mlt.xliff12.api.element.namedgroup.PropGroup> getPropGroups(); Reformat getReformat(); ResName getResName(); ResType getResType(); SizeUnit getSizeUnit(); List<? extends StructuralUnit> getStructuralUnits(); Style getStyle(); Translate getTranslate(); com.sap.mlt.xliff12.api.attribute.Ts getTs(); XmlSpace getXmlSpace(); void setCharClass(CharClass charClass); void setContextGroups(List<ContextGroup> contextGroups); void setCoord(Coord coord); void setCountGroups(List<CountGroup> countGroups); void setCssStyle(CssStyle cssStyle); void setDataType(DataType dataType); void setExStyle(ExStyle exStyle); void setExType(ExType exType); void setExtraData(ExtraData extraData); void setFont(Font font); void setHelpId(HelpId helpId); void setId(Id id); void setMaxBytes(MaxBytes maxBytes); void setMaxHeight(MaxHeight maxHeight); void setMaxWidth(MaxWidth maxWidth); void setMenu(Menu menu); void setMenuName(MenuName menuName); void setMenuOption(MenuOption menuOption); void setMergedTrans(MergedTrans mergedTrans); void setMinBytes(MinBytes minBytes); void setMinHeight(MinHeight minHeight); void setMinWidth(MinWidth minWidth); void setNonXliffAttributes(
			Collection<NonXliffAttribute> nonXliffAttributes); void setNonXliffElements(List<NonXliffElement> nonXliffElements); void setNotes(List<Note> notes); void setPropGroups(List<PropGroup> propGroups); void setReformat(Reformat reformat); void setResName(ResName resName); void setResType(ResType resType); void setSizeUnit(SizeUnit sizeUnit); void setStructuralUnits(List<? extends StructuralUnit> units); void setStyle(Style style); void setTranslate(Translate translate); void setTs(com.sap.mlt.xliff12.api.attribute.Ts ts); void setXmlSpace(XmlSpace xmlSpace);  }
@Test public void testGetChildren() { GroupImpl group = createDefaultGroup(); assertEquals(createDefaultStructuralUnits(), group.getChildren()); }