Package org.dozer.vo

Examples of org.dozer.vo.WeirdGetter.placeValue()


  }

  @Test
  public void testCustomGetterSetterMap() throws Exception {
    WeirdGetter inputDto = newInstance(WeirdGetter.class);
    inputDto.placeValue("theValue");
    inputDto.setWildValue("wild");

    WeirdGetterPrime prime = mapper.map(inputDto, WeirdGetterPrime.class);
    assertNull(prime.getWildValue()); // testing global wildcard, expect this to be null
    assertEquals(inputDto.buildValue(), prime.getValue());
View Full Code Here


  }

  @Test
  public void testCustomGetterSetterMap() throws Exception {
    WeirdGetter inputDto = newInstance(WeirdGetter.class);
    inputDto.placeValue("theValue");
    inputDto.setWildValue("wild");

    WeirdGetterPrime prime = mapper.map(inputDto, WeirdGetterPrime.class);
    assertNull(prime.getWildValue()); // testing global wildcard, expect this to be null
    assertEquals(inputDto.buildValue(), prime.getValue());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.