public String doGetConfig(HttpServletRequest request, HttpServletResponse response, String dataId, String group,
            String tenant, String tag, String isNotify, String clientIp) throws IOException, ServletException {
        return doGetConfig(request, response, dataId, group, tenant, tag, isNotify, clientIp, false);
    }
@Test
    void testDoGetConfigNotExist() throws Exception {
        
        // if lockResult equals 0,cache item not exist.
        configCacheServiceMockedStatic.when(() -> ConfigCacheService.tryConfigReadLock(anyString())).thenReturn(0);
        MockHttpServletRequest request = new MockHttpServletRequest();
        MockHttpServletResponse response = new MockHttpServletResponse();
        String actualValue = configServletInner.doGetConfig(request, response, "test", "test", "test", "test", "true", "localhost");
        assertEquals(HttpServletResponse.SC_NOT_FOUND + "", actualValue);
        
        configCacheServiceMockedStatic.when(() -> ConfigCacheService.getContentCache(GroupKey2.getKey("test", "test", "test")))
                .thenReturn(new CacheItem(GroupKey2.getKey("test", "test", "test")));
        // if lockResult less than 0
        configCacheServiceMockedStatic.when(() -> ConfigCacheService.tryConfigReadLock(anyString())).thenReturn(-1);
        actualValue = configServletInner.doGetConfig(request, response, "test", "test", "test", "test", "true", "localhost");
        assertEquals(HttpServletResponse.SC_CONFLICT + "", actualValue);
        
    }