### Question:
SpringProcessor extends AbstractRestAnnotationProcessor { @Override protected Parameter getParameter(Element element, TypeElement annotation) { Collection<String> names = valueOf(ANN_PARAMETER, annotation, element, "value"); return names == null ? null : new Parameter(names.iterator().next(), getDocumentationFor(element)); } SpringProcessor();   }### Answer:
@Test public void extractsParameter() throws Exception { TypeElement annotation = requestParam(); String parameter = aName(); Element element = annotatedClass(annotation, "value", parameter); assertEquals("RequestParam", parameter, processor.getParameter(element, annotation).getName()); }