static void setInternalCallbacks(TXStateInterface txp, final byte[] cbSensors) {
    ((TXStateProxyImpl) txp).forceLocalBootstrap();
    TXState tx = (TXState) ((TXStateProxyImpl) txp).getRealDeal(null, null);
    assertEquals(9, cbSensors.length);
    tx.setAfterReservation(() -> cbSensors[0]++);
    tx.setAfterConflictCheck(() -> cbSensors[1]++);
    tx.setAfterApplyChanges(() -> cbSensors[2]++);
    tx.setAfterReleaseLocalLocks(() -> cbSensors[3]++);
    tx.setAfterIndividualSend(() -> cbSensors[4]++);
    tx.setAfterIndividualCommitProcess(() -> cbSensors[5]++);
    tx.setAfterSend(() -> cbSensors[6]++);
    tx.setDuringIndividualSend(() -> cbSensors[7]++);
    tx.setDuringIndividualCommitProcess(() -> cbSensors[8]++);
  }
Test the internal callbacks used for what else... testing
geode-core/src/distributedTest/java/org/apache/geode/cache30/TXDistributedDUnitTest.java