public void testDateTimeNe() throws Exception {
ConstantExpression lt = GenPhyOp.exprConst();
lt.setValue(new DateTime(1L));
ConstantExpression rt = GenPhyOp.exprConst();
rt.setValue(new DateTime(0L));
EqualToExpr g = GenPhyOp.compEqualToExpr();
g.setLhs(lt);
g.setRhs(rt);
g.setOperandType(DataType.DATETIME);
Result r = g.getNextBoolean();
assertEquals(POStatus.STATUS_OK, r.returnStatus);
assertFalse((Boolean)r.result);
}