@Test
  public void testSetEvictionAttributes() {
    ClientCache c = new ClientCacheFactory().create();
    ClientRegionFactory factory = c.createClientRegionFactory(CACHING_PROXY);
    r1 = factory.setEvictionAttributes(EvictionAttributes.createLRUEntryAttributes(77))
        .create(r1Name);
    RegionAttributes ra = r1.getAttributes();
    assertThat(ra.getEvictionAttributes())
        .isEqualTo(EvictionAttributes.createLRUEntryAttributes(77));
  }
Unit test for the ClientRegionFactory class

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