public void testListOfListsMarshalling() throws Exception
{
GlobalElement global = new GlobalElement();
global.listOfLists = LIST_OF_LISTS;
MarshallerImpl marshaller = new MarshallerImpl();
marshaller.setProperty(Marshaller.PROP_OUTPUT_INDENTATION, "false");
StringWriter writer = new StringWriter();
marshaller.marshal(SCHEMA, null, global, writer);
String marshalled = writer.getBuffer().toString();
assertXmlEqual(LIST_OF_LISTS_XML, marshalled);
}