use of org.teiid.query.sql.symbol.ExpressionSymbol in project teiid by teiid.
the class TestExpressionSymbol method testExpressionHashCode.
public void testExpressionHashCode() {
Expression expr1 = new Constant(new Integer(1));
Expression expr2 = new Constant(new Integer(2));
// $NON-NLS-1$
ExpressionSymbol symbol1 = new ExpressionSymbol("foo", expr1);
// $NON-NLS-1$
ExpressionSymbol symbol2 = new ExpressionSymbol("bar", expr2);
assertFalse(symbol1.hashCode() == symbol2.hashCode());
}
Aggregations