Package org.springframework.data.mongodb.core.convert.DefaultDbRefResolver

Examples of org.springframework.data.mongodb.core.convert.DefaultDbRefResolver.LazyLoadingInterceptor


   * @param target
   * @param expected
   */
  public static void assertProxyIsResolved(Object target, boolean expected) {

    LazyLoadingInterceptor interceptor = extractInterceptor(target);
    assertThat(ReflectionTestUtils.getField(interceptor, "resolved"), is((Object) expected));
    assertThat(ReflectionTestUtils.getField(interceptor, "result"), is(expected ? notNullValue() : nullValue()));
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.mongodb.core.convert.DefaultDbRefResolver.LazyLoadingInterceptor

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.