testChildType.setParam1(new QName("http://tempuri.org/defaultnamepaces", "param1"));
testChildType.setParam2("Param2");
testChildType.setParam3(new QName("http://tempuri.org/defaultnamepaces", "param3"));
testChildType.setParam4("Param4");
TestSimpleUnion testSimpleUnion1 = new TestSimpleUnion();
testSimpleUnion1.setObject(new QName("http://tempuri.org/defaultnamepaces", "param5"));
testChildType.setParam5(testSimpleUnion1);
testChildType.setAttribute1("attribute1");
testChildType.setAttribute2(new QName("http://tempuri.org/defaultnamepaces", "attribute2"));
TestSimpleUnion testSimpleUnion2 = new TestSimpleUnion();
testSimpleUnion2.setObject(new QName("http://tempuri.org/defaultnamepaces", "attribute3"));
testElement1.setTestElement1(testChildType);
StringWriter stringWriter = new StringWriter();