public class TestSetStaticField extends MyTestCase {
public static interface BooleanSetFieldTest {
public void meth(boolean arg1) ;
}
public void test0() throws Exception {
Statement st = new ExprStatement(new SetValueExpr(
new FieldVarExpr("org.allspice.structuredtobc.test.StaticFieldTestClass","boolean_field",null),ARG0,null),null) ;
BooleanSetFieldTest obj = makeObject(BooleanSetFieldTest.class,st,new ReturnStatement(null)) ;
obj.meth(true) ;
assertEquals(StaticFieldTestClass.boolean_field,true) ;
obj.meth(false) ;