@Test
public void testConvertBinaryExpressionWithEqOnPrimitiveField()
	throws ExpressionVisitException {

	BinaryExpression binaryExpression = new BinaryExpressionImpl(
		new MemberExpressionImpl(
			new PrimitivePropertyExpressionImpl("title")),
		BinaryExpression.Operation.EQ,
		new LiteralExpressionImpl("test", LiteralExpression.Type.STRING));
	TermFilter termFilter = (TermFilter)_expressionConvertImpl.convert(
		binaryExpression, LocaleUtil.getDefault(), _entityModel);
	Assert.assertEquals("title", termFilter.getField());
	Assert.assertEquals("test", termFilter.getValue());
}