Package org.dozer.vo.inheritance.hints

Examples of org.dozer.vo.inheritance.hints.Source


    mapper = getMapper("inheritanceHints.xml");
  }

  @Test
  public void test_simple() {
    Source source = new Source();
    HashSet<Base> set = new HashSet<Base>();
    set.add(new BaseA());
    set.add(new BaseB());
    source.setSet(set);

    Target result = mapper.map(source, Target.class);

    assertNotNull(result);
    assertNotNull(result.getSet());
View Full Code Here


    mapper = getMapper("inheritanceHints.xml");
  }

  @Test
  public void test_simple() {
    Source source = new Source();
    HashSet<Base> set = new HashSet<Base>();
    set.add(new BaseA());
    set.add(new BaseB());
    source.setSet(set);

    Target result = mapper.map(source, Target.class);

    assertNotNull(result);
    assertNotNull(result.getSet());
View Full Code Here

TOP

Related Classes of org.dozer.vo.inheritance.hints.Source

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.