@Test
  public void testNonDefaultCache() throws Exception {
    CacheCreation cache = new CacheCreation();
    cache.setLockTimeout(42);
    cache.setLockLease(43);
    cache.setSearchTimeout(44);

    if (getGemFireVersion().compareTo(CacheXml.VERSION_4_0) >= 0) {
      cache.setCopyOnRead(true);
    }

    testXml(cache);
  }
Tests creating a cache with non-default lock-timeout, lock-lease, and search-timeout.
geode-core/src/distributedTest/java/org/apache/geode/cache30/CacheXml66DUnitTest.java