Package org.dozer.vo.isaccessible

Examples of org.dozer.vo.isaccessible.Foo


  }

  @Test
  public void testSetPrivateField() {
    mapper = super.getMapper(new String[] { "isaccessiblemapping.xml" });
    Foo src = newInstance(Foo.class);
    List<String> list = (ArrayList<String>) newInstance(ArrayList.class);
    list.add("test1");
    list.add("test2");
    src.setCategories(list);

    FooPrime dest = mapper.map(src, FooPrime.class);
    assertNotNull(dest);
  }
View Full Code Here


  }

  @Test
  public void testSetPrivateField() {
    mapper = getMapper("isaccessiblemapping.xml");
    Foo src = newInstance(Foo.class);
    List<String> list = (ArrayList<String>) newInstance(ArrayList.class);
    list.add("test1");
    list.add("test2");
    src.setCategories(list);

    FooPrime dest = mapper.map(src, FooPrime.class);
    assertNotNull(dest);
  }
View Full Code Here

TOP

Related Classes of org.dozer.vo.isaccessible.Foo

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.