Package org.dozer.vo.deepindex.customconverter

Examples of org.dozer.vo.deepindex.customconverter.Last


   */
  @Test
  public void testDeepIndexMappingWithCustomConverter() {
    mapper = getMapper(new String[] { "deepMappingWithIndexedFieldsByCustomConverter.xml" });
    First first = new First();
    Last last = mapper.map(first, Last.class);
    assertNotNull("nested third object should not be null", last.getThird());
    assertNotNull("name should not be null", last.getThird().getName());
    assertEquals(first.getSecondArray()[0].getThirdArray()[7].getName(), last.getThird().getName());
  }
View Full Code Here


   */
  @Test
  public void testDeepIndexMappingWithCustomConverter() {
    mapper = getMapper(new String[] { "deepMappingWithIndexedFieldsByCustomConverter.xml" });
    First first = new First();
    Last last = mapper.map(first, Last.class);
    assertNotNull("nested third object should not be null", last.getThird());
    assertNotNull("name should not be null", last.getThird().getName());
    assertEquals(first.getSecondArray()[0].getThirdArray()[7].getName(), last.getThird().getName());
  }
View Full Code Here

TOP

Related Classes of org.dozer.vo.deepindex.customconverter.Last

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.