Package test.reverspring.beans

Examples of test.reverspring.beans.PersonManagerList


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));
  }
View Full Code Here


    set.addBeanDescriptor(list, "personManagerList");
    System.out.println(XmlGenerator.getXml(set));
  }

  public void testIdSource() {
    PersonManagerList list = new PersonManagerList();
    list.getList().add(new IDSource());
    list.getList().add(new IDSource());
    list.getList().add(new IDSource());
    list.getList().add(new IDSource2());
    list.getList().add(new IDSource2());
    list.getList().add(new IDSource2());
    list.getList().add(new IDSource2());
    list.getList().add(new IDSource2());

    BeanSet set = new BeanSet();
    set.addBeanDescriptor(list, "personManagerList");
    System.out.println(XmlGenerator.getXml(set));
  }
View Full Code Here

TOP

Related Classes of test.reverspring.beans.PersonManagerList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.