### Question:
ParametersConfigurationConverter { public Map<String, ParameterConfiguration> convert(List<String> parameterNames, List<ParameterValue> parameterValues) { Map<String, ParameterConfiguration> configurationMap = new TreeMap<>(); for (int i = 0; i < parameterNames.size(); i++) { String parameterName = parameterNames.get(i); ParameterValue parameterValue = parameterValues.get(i); ParameterConfiguration parameterConfiguration = parameterConfigurationConverter.convert(parameterName, parameterValue); configurationMap.put(parameterName, parameterConfiguration); } return configurationMap; } @Inject  ParametersConfigurationConverter(ParameterConfigurationConverter parameterConfigurationConverter); Map<String, ParameterConfiguration> convert(List<String> parameterNames, List<ParameterValue> parameterValues);  }### Answer:
@Test public void convertNotExposedParamaters() throws Exception { List<String> parameterNames = Arrays.asList(TEXT, SELECTOR); List<ParameterValue> parameterValues = Arrays.asList(adminParameterValue, userSelectorParameterValue); when(parameterConfigurationConverter.convert(TEXT, adminParameterValue)).thenReturn(adminConfigurationMock); when(parameterConfigurationConverter.convert(SELECTOR, userSelectorParameterValue)).thenReturn(userSelectorConfigurationMock); ParametersConfigurationConverter parametersConfigurationConverter = new ParametersConfigurationConverter(parameterConfigurationConverter); Map<String, ParameterConfiguration> actual = parametersConfigurationConverter.convert(parameterNames, parameterValues); assertTrue(actual.containsKey(TEXT)); assertEquals(adminConfigurationMock, actual.get(TEXT)); assertTrue(actual.containsKey(SELECTOR)); assertEquals(userSelectorConfigurationMock, actual.get(SELECTOR)); }