public void annotation_present()
{
Class objectType = Runnable.class;
AnnotationProvider provider = mockAnnotationProvider();
ObjectLocator locator = mockObjectLocator();
Service service = newMock(Service.class);
String serviceId = "JiffyPop";
Runnable instance = mockRunnable();
train_getAnnotation(provider, Service.class, service);
expect(service.value()).andReturn(serviceId);
train_getService(locator, serviceId, objectType, instance);
replay();