train_getFieldAnnotation(ct, "myfield", PageActivationContext.class,
annotation);
train_getFieldType(ct, "myfield", CLASS_NAME);
expect(annotation.activate()).andReturn(false);
expect(annotation.passivate()).andReturn(true);
TransformMethodSignature sig = new TransformMethodSignature(
Modifier.PROTECTED | Modifier.FINAL, "java.lang.Object",
"onPassivate", null, null);