### Question:
MapInjectionResolver extends InjectionResolver<Param> { static List<String> convertStringToList(String listString, char sep) { List<String> list = new java.util.ArrayList(); if (listString != null) { final ParamTokenizer ptoken = new ParamTokenizer(listString, sep); while (ptoken.hasMoreTokens()) { String token = ptoken.nextToken(); list.add(token); } } return list; } MapInjectionResolver(CommandModel model,
					ParameterMap parameters);  MapInjectionResolver(CommandModel model,
					ParameterMap parameters,
                                        final MultiMap<String,File> optionNameToUploadedFileMap); void setContext(ExecutionContext context); @Override boolean isOptional(AnnotatedElement element, Param annotation); @Override V getValue(Object component, AnnotatedElement target, Type genericType, Class<V> type); static String getUploadedFileParamValue(final String fieldName,
                final Class fieldType,
                final MultiMap<String,File> optionNameToFileMap); static List<String> getUploadedFileParamValues(
                final String fieldName,
                final Class fieldType,
                final MultiMap<String,File> optionNameToFileMap); static Object convertListToObject(AnnotatedElement target,
                                    Class type, List<String> paramValList); static final LocalStringManagerImpl localStrings; }### Answer:
@Test public void convertStringToListTest() { String listStr = "server1\\:server2:\\\\server3:server4"; List<String> listExpected = new java.util.ArrayList(); listExpected.add("server1:server2"); listExpected.add("\\server3"); listExpected.add("server4"); List<String> listActual = MapInjectionResolver.convertStringToList(listStr, ':'); assertEquals(listExpected, listActual); }