### Question:
MapInjectionResolver extends InjectionResolver<Param> { static String[] convertStringToStringArray(String arrayString, char sep) { final ParamTokenizer paramTok = new ParamTokenizer(arrayString, sep); List<String> strs = new ArrayList<String>(); while (paramTok.hasMoreTokens()) strs.add(paramTok.nextToken()); return strs.toArray(new String[strs.size()]); } 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 convertStringToStringArrayTest() { String strArray = "server1\\,server2,\\\\server3,server4"; String[] strArrayExpected = new String[3]; strArrayExpected[0]="server1,server2"; strArrayExpected[1]="\\server3"; strArrayExpected[2]="server4"; String[] strArrayActual = MapInjectionResolver.convertStringToStringArray(strArray, ','); assertEquals(strArrayExpected, strArrayActual); }