public int meth(int arg0) ;
}
public void test1() throws Exception {
SwitchTest obj = makeObject(SwitchTest.class,new SwitchStatement(ARG0,
new FIFO<Statement>(
new CaseStatement(new ConstExpr(Integer.valueOf(1),null),null),
new ReturnStatement(new ConstExpr(Integer.valueOf(2),null),null),
new CaseStatement(new ConstExpr(Integer.valueOf(0),null),null),
new ReturnStatement(new ConstExpr(Integer.valueOf(0),null),null),
new CaseStatement(new ConstExpr(Integer.valueOf(2),null),null),
new ReturnStatement(new ConstExpr(Integer.valueOf(4),null),null),
new CaseStatement(null,null),
new ReturnStatement(new ConstExpr(Integer.valueOf(-1),null),null)
),null)) ;
assertEquals(obj.meth(0),0) ;
assertEquals(obj.meth(1),2) ;
assertEquals(obj.meth(2),4) ;