{
SymbolSource source = mockSymbolSource();
TypeCoercer coercer = mockTypeCoercer();
AnnotationProvider annotationProvider = mockAnnotationProvider();
ObjectLocator locator = mockObjectLocator();
Symbol annotation = newMock(Symbol.class);
String symbolName = "example-symbol";
String symbolValue = "symbol-value";
Long coercedValue = 123l;
train_getAnnotation(annotationProvider, Symbol.class, annotation);
expect(annotation.value()).andReturn(symbolName);
train_valueForSymbol(source, symbolName, symbolValue);
train_coerce(coercer, symbolValue, Long.class, coercedValue);