pub async fn start_mock_server(
service: MockBridgeService,
) -> Result<(String, MockServerHandle)>Expand description
Binds service to an ephemeral loopback port.
The returned address is 127.0.0.1:<port>. The handle must stay alive until the test
is done with the server; call MockServerHandle::shutdown to wait for it to exit.