private void getOpenApi() {
		this.getOpenApi(Locale.getDefault());
	}
@Test
	void serverBaseUrlCustomisersTest() throws InterruptedException {
		doCallRealMethod().when(openAPIService).updateServers(any());
		when(openAPIService.getCachedOpenAPI(any())).thenCallRealMethod();
		doAnswer(new CallsRealMethods()).when(openAPIService).setServerBaseUrl(any(), any());
		doAnswer(new CallsRealMethods()).when(openAPIService).setCachedOpenAPI(any(), any());

		SpringDocConfigProperties properties = new SpringDocConfigProperties();
		properties.setPreLoadingEnabled(true);

		resource = new EmptyPathsOpenApiResource(
				GROUP_NAME,
				openAPIBuilderObjectFactory,
				requestBuilder,
				responseBuilder,
				operationParser,
				properties,
				springDocProviders, new SpringDocCustomizers(Optional.empty(),Optional.empty(),Optional.empty(),Optional.empty())
		);

		// wait for executor to be done
		Thread.sleep(1_000);

		Locale locale = Locale.US;

		// Test that setting generated URL works fine with no customizers present
		String generatedUrl = "https://generated-url.com/context-path";
		openAPIService.setServerBaseUrl(generatedUrl, new MockClientHttpRequest());
		openAPIService.updateServers(openAPI);
		OpenAPI after = resource.getOpenApi(locale);
		assertThat(after.getServers().get(0).getUrl(), is(generatedUrl));

		// Test that adding a serverBaseUrlCustomizer has the desired effect
		ServerBaseUrlCustomizer serverBaseUrlCustomizer = (serverBaseUrl, request) -> serverBaseUrl.replace("/context-path", "");
		List<ServerBaseUrlCustomizer> serverBaseUrlCustomizerList = new ArrayList<>();
		serverBaseUrlCustomizerList.add(serverBaseUrlCustomizer);

		ReflectionTestUtils.setField(openAPIService, "serverBaseUrlCustomizers", Optional.of(serverBaseUrlCustomizerList));
		openAPIService.setServerBaseUrl(generatedUrl, new MockClientHttpRequest());
		openAPIService.updateServers(openAPI);
		after = resource.getOpenApi(locale);
		assertThat(after.getServers().get(0).getUrl(), is("https://generated-url.com"));

		// Test that serverBaseUrlCustomisers are performed in order
		generatedUrl = "https://generated-url.com/context-path/second-path";
		ServerBaseUrlCustomizer serverBaseUrlCustomiser2 = (serverBaseUrl, request) -> serverBaseUrl.replace("/context-path/second-path", "");
		serverBaseUrlCustomizerList.add(serverBaseUrlCustomiser2);

		openAPIService.setServerBaseUrl(generatedUrl, new MockClientHttpRequest());
		openAPIService.updateServers(openAPI);
		after = resource.getOpenApi(locale);
		assertThat(after.getServers().get(0).getUrl(), is("https://generated-url.com/second-path"));

		// Test that all serverBaseUrlCustomisers in the List are performed
		ServerBaseUrlCustomizer serverBaseUrlCustomiser3 = (serverBaseUrl, request) -> serverBaseUrl.replace("/second-path", "");
		serverBaseUrlCustomizerList.add(serverBaseUrlCustomiser3);

		openAPIService.setServerBaseUrl(generatedUrl, new MockClientHttpRequest());
		openAPIService.updateServers(openAPI);
		after = resource.getOpenApi(locale);
		assertThat(after.getServers().get(0).getUrl(), is("https://generated-url.com"));
	}