@Test
  public void testCACHING_PROXY_LRU() {
    ClientCache c = new ClientCacheFactory().create();
    ClientRegionFactory factory = c.createClientRegionFactory(CACHING_PROXY_HEAP_LRU);
    r1 = factory.create(r1Name);
    RegionAttributes ra = r1.getAttributes();
    assertThat(ra.getDataPolicy()).isEqualTo(DataPolicy.NORMAL);
    assertThat(ra.getScope()).isEqualTo(Scope.LOCAL);
    assertThat(ra.getPoolName()).isEqualTo("DEFAULT");
    assertThat(ra.getEvictionAttributes())
        .isEqualTo(EvictionAttributes.createLRUHeapAttributes());
    assertThat(c.getResourceManager().getEvictionHeapPercentage())
        .isEqualTo(LocalRegion.DEFAULT_HEAPLRU_EVICTION_HEAP_PERCENTAGE);
  }
Unit test for the ClientRegionFactory class

@since GemFire 6.5
geode-core/src/integrationTest/java/org/apache/geode/cache/client/ClientRegionFactoryJUnitTest.java