@Test
public void testVisitMemberExpressionStringEntityFieldInLambda()
	throws ExpressionVisitException {

	Map<String, EntityField> entityFieldsMap =
		_entityModel.getEntityFieldsMap();
	EntityField entityField1 = entityFieldsMap.get("keywords");
	ExpressionVisitorImpl expressionVisitorImpl = new ExpressionVisitorImpl(
		new SimpleDateFormat("yyyyMMddHHmmss"), LocaleUtil.getDefault(),
		new EntityModel() {
			@Override
			public Map<String, EntityField> getEntityFieldsMap() {
				return Collections.singletonMap("k", entityField1);
			}
			@Override
			public String getName() {
				return entityField1.getName();
			}
		});
	MemberExpression memberExpression = new MemberExpressionImpl(
		new LambdaVariableExpressionImpl("k"));
	EntityField entityField2 =
		(EntityField)expressionVisitorImpl.visitMemberExpression(
			memberExpression);
	Assert.assertNotNull(entityField2);
	Assert.assertEquals("keywords", entityField2.getName());
	Assert.assertEquals(
		EntityField.Type.COLLECTION, entityField2.getType());
}