import junit.framework.TestCase;
public class TestSingleton extends TestCase {
public void testSingleton() {
PersonManagerList list = new PersonManagerList();
list.getList().add(new PersonManager());
list.getList().add(new PersonManager());
list.getList().add(new PersonManager());
list.getList().add(new PersonManager());
list.getList().add(new PersonManager());
list.getList().add(new PersonManager());
list.getList().add(new PersonManager());
list.getList().add(new PersonManager());
list.getList().add(new PersonManager());
list.getList().add(new PersonManager());
BeanSet set = new BeanSet();
set.addBeanDescriptor(list, "personManagerList");
System.out.println(XmlGenerator.getXml(set));
}