protected String[] getQueryParamValues(MultiValuedTreeMap<String, String> qs, String key, boolean isCaseSensitive) {
        List<String> value = getQueryParamValuesAsList(qs, key, isCaseSensitive);
        if (value == null){
            return null;
        }
        return value.toArray(new String[0]);
    }
@Test
    void queryParamValues_getQueryParamValues_caseInsensitive() {
        AwsProxyHttpServletRequest request = new AwsProxyHttpServletRequest(new AwsProxyRequest(), mockContext, null);
        MultiValuedTreeMap<String, String> map = new MultiValuedTreeMap<>();
        map.add("test", "test");
        map.add("test", "test2");
        String[] result1 = request.getQueryParamValues(map, "test", false);
        assertArrayEquals(new String[]{"test", "test2"}, result1);
        String[] result2 = request.getQueryParamValues(map, "TEST", false);
        assertArrayEquals(new String[]{"test", "test2"}, result2);
    }