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