*/
public Callable<T> andAnnotatedWith(final Class<? extends Annotation> annotationType) {
assertNotNullParameter(annotationType, "annotationType");
Field field = WhiteboxImpl.getFieldAnnotatedWith(object, annotationType);
if (!field.getName().equals(expectedFieldName)) {
throw new FieldNotFoundException(String.format(
"Couldn't find a field with name %s annotated with %s in %s.", expectedFieldName,
annotationType.getClass().getName(), WhiteboxImpl.getType(object).getName()));
}
expectedAnnotation = annotationType;
return this;