return cdt;
}
private void checkComplexDocument(ComplexDocument_Type cdt) {
ArrayOfSimpleDocument asd = cdt.getSimpleDoc();
assertTrue("asd is null!!!", asd != null);
SimpleDocument_Type[] adt = asd.getSimpleDocument();
boolean b = "petra".equals(adt[0]);
assertTrue("adt is null!!!", adt != null);
assertTrue("adt length not 2, is: " + adt.length, adt.length == 2);
assertTrue("child adt[0] not 'petra', is: " + adt[0], "petra".equals(adt[0].getValue()));
assertTrue("child adt[1] not 'ant', is: " + adt[0], "ant".equals(adt[1].getValue()));
ChildDocument cd = cdt.getChild();
asd = cd.getChildSimpleDoc();
assertTrue("child asd is null!!!", asd != null);
adt = asd.getSimpleDocument();
assertTrue("child adt is null!!!", adt != null);
assertTrue("child adt length not 1, is: " + adt.length, adt.length == 1);
assertTrue("child adt[0] not 'sue', is: " + adt[0], "sue".equals(adt[0].getValue()));
String s = cdt.getAnAttribute();