public class TestIfThenElse extends MyTestCase {
public static interface IfTest {
public int meth(boolean arg0) ;
}
public void test1() throws Exception {
IfTest obj = makeObject(IfTest.class,new IfThenElseStatement(
ARG0,
new FIFO<Statement>(new ReturnStatement(new ConstExpr(Integer.valueOf(3),null),null)),
new FIFO<Statement>(new ReturnStatement(new ConstExpr(Integer.valueOf(2),null),null)),
null)) ;
assertEquals(obj.meth(true),3) ;