public void testIntegerEq() throws Exception {
ConstantExpression lt = GenPhyOp.exprConst();
lt.setValue(new Integer(1));
ConstantExpression rt = GenPhyOp.exprConst();
rt.setValue(new Integer(1));
NotEqualToExpr g = GenPhyOp.compNotEqualToExpr();
g.setLhs(lt);
g.setRhs(rt);
g.setOperandType(DataType.INTEGER);
Result r = g.getNextBoolean();
assertEquals(POStatus.STATUS_OK, r.returnStatus);
assertFalse((Boolean)r.result);
}