public void test2() throws Exception {
MethTest obj = makeObject(MethTest.class,new DeclareStatement(
new FIFO<VarDecl>(new VarDecl("int","x")),
new FIFO<Statement>(
new TryCatchStatement(
new FIFO<Statement>(new ExprStatement(new SetValueExpr(X,new ConstExpr(Integer.valueOf(7),null),null),null),new ReturnStatement(X,null)),
new FIFO<CatchBlock>(),
new FIFO<Statement>(new ExprStatement(new SetValueExpr(X,new PlusExpr(X,new ConstExpr(Integer.valueOf(1),null),null),null),null)),
null
),
new ReturnStatement(new ConstExpr(Integer.valueOf(-1),null),null)),
null)) ;
assertEquals(obj.meth(),7) ;
}