try {
Method meth = C2.class.getMethod("publicMethod", (Class[])null);
Field statField = C2.class.getField("stat");
C2 clazz = new C2();
assertEquals(0, clazz.stat);
clazz.publicMethod();
assertEquals(10, clazz.stat);
meth.invoke(clazz, (Object[])null);
status = ((Integer) statField.get(clazz)).intValue();
} catch (Exception e) {
fail(e.toString());