@SuppressWarnings("unchecked")
@Test
public void testVisitBinaryExpressionOperationWithEqualOperation() {

	Map<String, EntityField> entityFieldsMap =
		_entityModel.getEntityFieldsMap();
	EntityField entityField = entityFieldsMap.get("title");
	String value = "title1";
	TermFilter termFilter =
		(TermFilter)_expressionVisitorImpl.visitBinaryExpressionOperation(
			BinaryExpression.Operation.EQ, entityField, value);
	Assert.assertEquals(entityField.getName(), termFilter.getField());
	Assert.assertEquals(value, termFilter.getValue());
}