@Test
public void testDocumentSourceMapWithMultiValueField() {

	DocumentFieldsTranslator documentFieldsTranslator =
		new DocumentFieldsTranslator(null);
	DocumentBuilder documentBuilder = new DocumentBuilderImpl();
	String fieldName = RandomTestUtil.randomString();
	List<String> list1 = Arrays.asList(
		RandomTestUtil.randomString(), RandomTestUtil.randomString());
	documentFieldsTranslator.translate(
		documentBuilder, Collections.singletonMap(fieldName, list1));
	Document document = documentBuilder.build();
	List<String> list2 = document.getStrings(fieldName);
	Assert.assertEquals(list1.toString(), list2.toString());
}