@Test
public void testVisitBinaryExpressionOperationWithEqualOperationAndNullValue() {

	Map<String, EntityField> entityFieldsMap =
		_entityModel.getEntityFieldsMap();
	EntityField entityField = entityFieldsMap.get("title");
	BooleanFilter booleanFilter =
		(BooleanFilter)
			_expressionVisitorImpl.visitBinaryExpressionOperation(
				BinaryExpression.Operation.EQ, entityField, null);
	Assert.assertTrue(booleanFilter.hasClauses());
	List<BooleanClause<Filter>> booleanClauses =
		booleanFilter.getMustNotBooleanClauses();
	Assert.assertEquals(
		booleanClauses.toString(), 1, booleanClauses.size());
	BooleanClause<Filter> queryBooleanClause = booleanClauses.get(0);
	ExistsFilter existsFilter =
		(ExistsFilter)queryBooleanClause.getClause();
	Assert.assertEquals(entityField.getName(), existsFilter.getField());
}