@Test
  public void testIsLockGrantorAttribute() throws Exception {
    String name = getUniqueName() + "-testIsLockGrantorAttribute";
    AttributesFactory factory = new AttributesFactory(getGlobalAttrs());
    factory.setLockGrantor(true);
    Region region = getOrCreateRootRegion().createSubregion(name, factory.create());
    assertEquals("Setting isLockGrantor failed to result in becoming lock grantor", true,
        ((org.apache.geode.internal.cache.DistributedRegion) region).getLockService()
            .isLockGrantor());
  }
Tests for 32356 R2 tryLock w/ 0 timeout broken in Distributed Lock Service
geode-core/src/distributedTest/java/org/apache/geode/cache30/GlobalLockingDUnitTest.java