private void doActionConnectAcceptActivated(ActionContext __) {
		InetSocketAddress sockaddr = promptSocketAddress("Accept Trace RMI Connection", "Listen",
			actionConnectAccept.getHelpLocation());
		if (sockaddr == null) {
			return;
		}
		CompletableFuture.runAsync(() -> {
			// TODO: Progress entry
			try {
				TraceRmiAcceptor acceptor = traceRmiService.acceptOne(sockaddr);
				acceptor.accept();
			}
			catch (CancelledException e) {
				// Nothing. User should already know.
			}
			catch (Throwable e) {
				Msg.showError(this, null, "Accept",
					"Could not accept Trace RMI Connection on " + sockaddr + ": " + e);
			}
		});
	}
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