private void assertTokenIsUnused(DLockToken dLockToken) {
    assertThat(dLockToken.getRecursion()).isEqualTo(0);
    assertThat(dLockToken.getUsageCount()).isEqualTo(0);
    assertThat(dLockToken.getThread()).isNull();
    assertThat(dLockToken.getLesseeThread()).isNull();
    assertThat(dLockToken.getLeaseId()).isEqualTo(-1);
  }
Start a DLS in a thread, lock something from it in another thread, destroy it in yet a third.
geode-core/src/distributedTest/java/org/apache/geode/distributed/internal/locks/DLockServiceCharacterizationTests.java