public class TestGetField extends MyTestCase {
public static interface BooleanGetFieldTest {
public boolean meth(FieldTestClass arg0) ;
}
public void test0() throws Exception {
BooleanGetFieldTest obj = makeObject(BooleanGetFieldTest.class,new FieldVarExpr(ARG0,"boolean_field",null)) ;
FieldTestClass o2 = new FieldTestClass() ;
o2.boolean_field = true ;
assertEquals(obj.meth(o2),true) ;
o2.boolean_field = false ;
assertEquals(obj.meth(o2),false) ;