code: private void startProxy() throws Exception {
      mProxyProcess = ProxyProcess.Factory.create();
      Runnable runProxy = () -> {
        try {
          mProxyProcess.start();
        } catch (InterruptedException e) {
          // this is expected
        } catch (Exception e) {
          // Log the exception as the RuntimeException will be caught and handled silently by JUnit
          LOG.error("Start proxy error", e);
          throw new RuntimeException(e + " \n Start Proxy Error \n" + e.getMessage(), e);
        }
      };
  
      mProxyThread = new Thread(runProxy);
      mProxyThread.setName("ProxyThread-" + System.identityHashCode(mProxyThread));
      mProxyThread.start();
      TestUtils.waitForReady(mProxyProcess);
    }
docs: Configures and starts the proxy.