@Test
public void testConvertListExpressionWithInOnPrimitiveField()
	throws ExpressionVisitException {

	ListExpression listExpression = new ListExpressionImpl(
		new MemberExpressionImpl(
			new PrimitivePropertyExpressionImpl("title")),
		ListExpression.Operation.IN,
		Collections.singletonList(
			new LiteralExpressionImpl(
				"test", LiteralExpression.Type.STRING)));
	TermsFilter termsFilter = (TermsFilter)_expressionConvertImpl.convert(
		listExpression, LocaleUtil.getDefault(), _entityModel);
	Assert.assertEquals("title", termsFilter.getField());
	String[] values = termsFilter.getValues();
	Assert.assertEquals("test", values[0]);
}