replaceField(TEST_TIME_SERVICE, "timeService", rpcManager, ExtendedStatisticRpcManager.class);
controlledRpcManager[i] = new ControlledRpcManager(rpcManager);
replaceComponent(cache(i), RpcManager.class, controlledRpcManager[i], true);
transactionTrackInterceptors[i] = TransactionTrackInterceptor.injectInCache(cache(i));
if (i == 0) {
DeadlockDetectingLockManager dldLockManager = (DeadlockDetectingLockManager) lockManager.getActual();
dldLockManager.injectTimeService(lockManagerTimeService);
}
}
}