Package org.dozer.vo.inheritance.cc

Examples of org.dozer.vo.inheritance.cc.C


    Z z = new Z();
    z.setTest("testString");

    mapper = getMapper("inheritanceBug.xml");

    C c = mapper.map(z, C.class);
    assertEquals("wrong value", "customConverter", c.getTest());
  }
View Full Code Here


  @Test
  public void shouldUseConverter() {
    Z source = new Z();
    source.setTest("testString");

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

    assertThat(result.getTest(), equalTo("customConverter"));
  }
View Full Code Here

  @Test
  public void shouldUseConverter3() {
    X source = new X();
    source.setTest("testString");

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

    assertThat(result.getTest(), equalTo("customConverter"));
  }
View Full Code Here

TOP

Related Classes of org.dozer.vo.inheritance.cc.C

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.