protected static void checkGetAndDestroy(){
  assertNull(TXLockService.getDTLS());
  TXLockService dtls=TXLockService.createDTLS();
  assertNotNull(dtls);
  assertEquals(true,dtls == TXLockService.getDTLS());
  assertEquals(false,dtls.isDestroyed());
  TXLockService.destroyServices();
  assertEquals(true,dtls.isDestroyed());
  assertNull(TXLockService.getDTLS());
  dtls=TXLockService.createDTLS();
  assertNotNull(dtls);
  assertEquals(true,dtls == TXLockService.getDTLS());
  assertEquals(false,dtls.isDestroyed());
}

protected static void checkGetAndDestroy ( ) { assertNull ( TXLockService . getDTLS ( ) ) ; TXLockService dtls = TXLockService . createDTLS ( ) ; assertNotNull ( dtls ) ; assertEquals ( true , dtls == TXLockService . getDTLS ( ) ) ; assertEquals ( false , dtls . isDestroyed ( ) ) ; TXLockService . destroyServices ( ) ; assertEquals ( true , dtls . isDestroyed ( ) ) ; assertNull ( TXLockService . getDTLS ( ) ) ; dtls = TXLockService . createDTLS ( ) ; assertNotNull ( dtls ) ; assertEquals ( true , dtls == TXLockService . getDTLS ( ) ) ; assertEquals ( false , dtls . isDestroyed ( ) ) ; }
accessed via reflection . do not remove
