private HttpHandler wrapHandlerWithDelay(HttpHandler delegate, int delayMS) {
		return httpExchange -> {
			try {
				Thread.sleep(delayMS);
			}
			catch (InterruptedException e) {
				// ignore
			}
			delegate.handle(httpExchange);
		};
	}
Tests the LibreTranslateStringTranslationService by creating a mock HTTP server that responds
to the minimal requests the service needs.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/string/translate/libretranslate/LibreTranslateStringTranslationServiceTest.java