private void nodeActivated(TraceRmiManagerNode node) {
		if (node instanceof TraceRmiTargetNode tNode) {
			if (traceManagerService == null) {
				return;
			}
			Target target = tNode.getTarget();
			traceManagerService.activateTarget(target);
			if (controlService == null) {
				return;
			}
			if (!controlService.getCurrentMode(target.getTrace()).isTarget()) {
				controlService.setCurrentMode(target.getTrace(), ControlMode.RO_TARGET);
			}
		}
	}
This allows the test framework to use reflection to access this method.
Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/TraceRmiConnectionManagerProvider.java