AnnotationProvider annotationProvider = mockAnnotationProvider();
ObjectLocator locator = mockObjectLocator();
String annotationValue = "${foo}";
String expanded = "Foo";
Runnable coerced = mockRunnable();
Value annotation = newMock(Value.class);
train_getAnnotation(annotationProvider, Value.class, annotation);
expect(annotation.value()).andReturn(annotationValue);
train_expandSymbols(symbolSource, annotationValue, expanded);
train_coerce(coercer, expanded, Runnable.class, coerced);
replay();