Package org.dozer.vo.inheritance.cc

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


  /*
   * Bug #1953410
   */
  @Test
  public void testInheritanceBug() {
    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


  /*
   * Bug #1953410
   */
  @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

    assertThat(result.getTest(), equalTo("customConverter"));
  }

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

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

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

TOP

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

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.