/**
* testClone
*/
@Test
public void testClone() throws Exception {
AggregateExpression exp = new AggregateExpression(ExpressionType.COMPARE_EQUAL);
exp.m_distinct = true;
AggregateExpression clone = (AggregateExpression)exp.clone();
assertNotNull(clone);
assertEquals(exp.getId(), clone.getId());
assertEquals(exp.isJoiningClause(), clone.isJoiningClause());
assertEquals(exp.getExpressionType(), clone.getExpressionType());
assertEquals(exp.getValueType(), clone.getValueType());
assertEquals(exp.getValueSize(), clone.getValueSize());
assertEquals(exp.isDistinct(), clone.isDistinct());
}