@Test
public void testVisitLambdaFunctionExpressionAny()
	throws ExpressionVisitException {

	LambdaFunctionExpression lambdaFunctionExpression =
		new LambdaFunctionExpressionImpl(
			LambdaFunctionExpression.Type.ANY, "k",
			new BinaryExpressionImpl(
				new MemberExpressionImpl(
					new LambdaVariableExpressionImpl("k")),
				BinaryExpression.Operation.EQ,
				new LiteralExpressionImpl(
					"keyword1", LiteralExpression.Type.STRING)));
	Map<String, EntityField> entityFieldsMap =
		_entityModel.getEntityFieldsMap();
	CollectionEntityField collectionEntityField =
		(CollectionEntityField)entityFieldsMap.get("keywords");
	ExpressionVisitorImpl expressionVisitorImpl = new ExpressionVisitorImpl(
		new SimpleDateFormat("yyyyMMddHHmmss"), LocaleUtil.getDefault(),
		new EntityModel() {
			@Override
			public Map<String, EntityField> getEntityFieldsMap() {
				return Collections.singletonMap(
					"k", collectionEntityField.getEntityField());
			}
			@Override
			public String getName() {
				return collectionEntityField.getName();
			}
		});
	TermFilter termFilter =
		(TermFilter)expressionVisitorImpl.visitLambdaFunctionExpression(
			lambdaFunctionExpression.getType(),
			lambdaFunctionExpression.getVariableName(),
			lambdaFunctionExpression.getExpression());
	Assert.assertNotNull(termFilter);
	Assert.assertEquals("keywords.raw", termFilter.getField());
	Assert.assertEquals("keyword1", termFilter.getValue());
}