### Question:
AnnotationImpl implements Annotation { @Override public Annotation set(Javadoc doc) { this.javadoc = doc.setParent(this); return this; } AnnotationImpl(String name); protected  AnnotationImpl(Annotation prototype); @Override Annotation setName(String name); @Override String getName(); @Override List<Field> getFields(); @Override Annotation set(Javadoc doc); @Override Optional<Javadoc> getJavadoc(); @Override List<Import> getImports(); @Override Set<Modifier> getModifiers(); @Override List<AnnotationUsage> getAnnotations(); @Override AnnotationImpl copy(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test void set() { instance().set(Javadoc.of("A")); assertEquals("A", instance().getJavadoc().orElseThrow(NoSuchElementException::new).getText()); }