Package org.dozer.vo

Examples of org.dozer.vo.ValueObject


  }

  @Test
  public void testCopyByReferenceFromMap() {
    HashMap<String, ValueObject> hashMap = newInstance(HashMap.class);
    hashMap.put("1", new ValueObject());

    ValueObject destination = newInstance(ValueObject.class);
    mapper.map(hashMap, destination);

    assertNotNull(destination);
    assertNotNull(destination.getValue());
  }
View Full Code Here


  }

  @Test
  public void testCopyByReferenceFromMap() {
    HashMap<String, ValueObject> hashMap = newInstance(HashMap.class);
    hashMap.put("1", new ValueObject());

    ValueObject destination = newInstance(ValueObject.class);
    mapper.map(hashMap, destination);

    assertNotNull(destination);
    assertNotNull(destination.getValue());
  }
View Full Code Here

TOP

Related Classes of org.dozer.vo.ValueObject

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.