@@ -0,0 +1,1443 @@
+package org.simpleframework.xml.core;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Date;%0Aimport java.util.List;%0A%0Aimport junit.framework.TestCase;%0A%0Aimport org.simpleframework.xml.Default;%0Aimport org.simpleframework.xml.ElementList;%0Aimport org.simpleframework.xml.core.Persister;%0A%0Apublic class SerializeRandomListOfObjectsTest extends TestCase %7B%0A%0A   @Default%0A   public static class MethodInvocation %7B%0A      %0A      private List%3CObject%3E arguments;%0A      private Class%5B%5D types;%0A      private String name;%0A      %0A      public MethodInvocation() %7B%0A         super();%0A      %7D%0A      %0A      public MethodInvocation(String name, Class%5B%5D types, List%3CObject%3E arguments) %7B%0A         this.name = name;%0A         this.types = types;%0A         this.arguments = arguments;%0A      %7D%0A   %7D%0A   %0A   @Default%0A   private static class ListArgument %7B%0A      @ElementList%0A      private List list;%0A      %0A      public ListArgument() %7B%0A         super();%0A      %7D%0A      %0A      public ListArgument(List list) %7B%0A         this.list = list;%0A      %7D%0A   %7D%0A   %0A   public static interface SomeServiceInterface %7B%0A      void doSomething(List%3CString%3E values);%0A   %7D%0A   %0A   public void testSerializeRandomList() throws Exception %7B%0A      List list = new ArrayList();%0A      list.add(%22x%22);%0A      list.add(10);%0A      list.add(new Date());%0A      ListArgument argument = new ListArgument(list);%0A      Persister persister = new Persister();%0A      persister.write(argument, System.out);%0A      %0A   %7D%0A%7D%0A

Update code