CountGroupImpl extends XliffElementImpl implements CountGroup { @Override public List<? extends Node> getChildren() { return Collections.unmodifiableList(counts); } CountGroupImpl(Name name, List<Count> counts);  CountGroupImpl(Element elem); @Override List<? extends Node> getChildren(); Name getCountGroupName(); List<Count> getCounts(); void setCountGroupName(Name name); void setCounts(List<Count> counts);  }
@Test public void testGetChildren() { CountGroupImpl cg = createDefaultCountGroup(); assertEquals(createDefaultCounts(), cg.getChildren()); }