{
ObjectProvider provider = mockObjectProvider();
ObjectLocator locator = mockObjectLocator();
Inject annotation = newMock(Inject.class);
ClassTransformation ct = mockClassTransformation();
MutableComponentModel model = mockMutableComponentModel();
Throwable cause = new RuntimeException("Injection failed.");
train_findFieldsWithAnnotation(ct, Inject.class, "myfield");
train_getFieldAnnotation(ct, "myfield", Inject.class, annotation);