@Test
  public void testSetRegionTimeToLive() throws Exception {
    Cache c = createCache();
    RegionFactory factory = c.createRegionFactory(LOCAL);
    ExpirationAttributes ea = new ExpirationAttributes(7);
    r1 = factory.setRegionTimeToLive(ea).create(r1Name);
    RegionAttributes ra = r1.getAttributes();
    assertEquals(ea, ra.getRegionTimeToLive());
  }
Ensure that the RegionFactory set methods mirrors those found in RegionAttributes
geode-core/src/integrationTest/java/org/apache/geode/cache/RegionFactoryJUnitTest.java