Package org.dozer.spring.functional_tests.support

Examples of org.dozer.spring.functional_tests.support.ReferencingBean


  @Test
  public void shouldRegisterMapper() {
    DozerBeanMapper beanMapper = (DozerBeanMapper) context.getBean("beanMapper");
    assertThat(beanMapper, notNullValue());

    ReferencingBean referencingBean = context.getBean(ReferencingBean.class);
    Mapper mapper = referencingBean.getMapper();
    assertThat(mapper, notNullValue());

    assertThat(beanMapper, sameInstance(mapper));
  }
View Full Code Here

TOP

Related Classes of org.dozer.spring.functional_tests.support.ReferencingBean

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.