### Question:
QueryStringConverter { public static Object convertParamValue(String strVal) { if ((strVal == null) || "null".equals(strVal)) { return null; } for (int j = 0; j < QueryStringConverter.patterns.length; j++) { final Pattern pattern = QueryStringConverter.patterns[j]; final Matcher matcher = pattern.matcher(strVal); if (matcher.matches()) { return QueryStringConverter.converters[j].convert(matcher.group(1)); } } final Date dateVal = DateParser.parseDate(strVal); return (dateVal != null) ? dateVal : strVal; } private  QueryStringConverter(); static Map<String, Object> convertFromQueryString(String inQueryString); static Object convertParamValue(String strVal); static Object convertParamValue(String[] strValues); static String convertToQueryString(Map<String, Object> inParams);  }### Answer:
@Test public void testConvertParamValue() { for (int i = 0; i < QueryStringConverterTest.mTestValues.length; i++) { final Object result = QueryStringConverter.convertParamValue(QueryStringConverterTest.mTestValues[i]); System.out.println(QueryStringConverterTest.mTestValues[i] + ">> " + result); Assert.assertTrue(result.getClass().getSimpleName().equals(QueryStringConverterTest.mExpectedClassReturned[i])); } }