### Question:
Converter { private Identifiers convertIdentifiers(final Map<TestType, String> identifiers) { return new Identifiers(ImmutableMap.copyOf(identifiers), true); } Converter(final List<ContextVariable> contextList); ConvertedParameters convert(final RawParameters raw);  }### Answer:
@Test public void testConvertIdentifiers() { final Converter converter = new Converter(Collections.<ContextVariable>emptyList()); final Map<TestType, String> rawIds = ImmutableMap.of( TestType.ANONYMOUS_USER, "user-123", TestType.EMAIL_ADDRESS, "foo@example.com" ); final RawParameters rawParameters = new RawParameters( Collections.<String, String>emptyMap(), rawIds, Collections.<String>emptyList(), "" ); final ConvertedParameters convertedParameters = converter.convert(rawParameters); final Identifiers ids = convertedParameters.getIdentifiers(); assertEquals("user-123", ids.getIdentifier(TestType.ANONYMOUS_USER)); assertEquals("foo@example.com", ids.getIdentifier(TestType.EMAIL_ADDRESS)); assertTrue(ids.isRandomEnabled()); }