public static NacosAsyncRestTemplate getNacosAsyncRestTemplate(Logger logger) {
        return getNacosAsyncRestTemplate(new DefaultHttpClientFactory(logger));
    }
@Test
    void testGetNacosAsyncRestTemplateWithCustomFactory() {
        assertTrue(restAsyncMap.isEmpty());
        HttpClientBeanHolder.getNacosAsyncRestTemplate((Logger) null);
        assertEquals(1, restAsyncMap.size());
        NacosAsyncRestTemplate actual = HttpClientBeanHolder.getNacosAsyncRestTemplate(mockFactory);
        assertEquals(2, restAsyncMap.size());
        assertEquals(mockAsyncRestTemplate, actual);
    }