private void doActionConnectOutboundActivated(ActionContext __) {
		InetSocketAddress sockaddr = promptSocketAddress("Connect to Trace RMI", "Connect",
			actionConnectOutbound.getHelpLocation());
		if (sockaddr == null) {
			return;
		}
		CompletableFuture.runAsync(() -> {
			// TODO: Progress entry?
			try {
				traceRmiService.connect(sockaddr);
			}
			catch (Throwable e) {
				Msg.showError(this, null, "Connect",
					"Could connect to Trace RMI at " + sockaddr + ": " + e.getMessage());
			}
		});
	}
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