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