### Question:
Converter { private Map<String, Integer> convertForceGroups(final String forceGroups) { return ProctorConsumerUtils.parseForceGroupsList(forceGroups); } Converter(final List<ContextVariable> contextList); ConvertedParameters convert(final RawParameters raw);  }### Answer:
@Test public void testConvertForceGroups() { final Converter converter = new Converter(Collections.<ContextVariable>emptyList()); final RawParameters rawParameters = new RawParameters( Collections.<String, String>emptyMap(), Collections.<TestType, String>emptyMap(), Collections.<String>emptyList(), "mytest1,othertest2" ); final ConvertedParameters convertedParameters = converter.convert(rawParameters); final Map<String, Integer> forceGroups = convertedParameters.getForceGroups(); assertEquals(2, forceGroups.size()); assertEquals(Integer.valueOf(1), forceGroups.get("mytest")); assertEquals(Integer.valueOf(2), forceGroups.get("othertest")); }