private void mockUnexpectedTextResultHandler(HttpExchange httpExchange) throws IOException {
		// this returns OK for every URL
		byte[] response = "Hello world".toString().getBytes();

		httpExchange.getResponseHeaders().set(CONTENT_TYPE_HEADER, "text/plain");
		httpExchange.sendResponseHeaders(HTTP_OK, response.length);
		httpExchange.getResponseBody().write(response);
		httpExchange.close();
	}
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