### Question:
BPMNDocumentationView extends DefaultDiagramDocumentationView { protected void onFormFieldChanged(@Observes FormFieldChanged formFieldChanged) { Optional.ofNullable(isSelected) .map(Supplier::get) .filter(Boolean.TRUE::equals) .map(focus -> getDiagram() .map(d -> d.getGraph().getNode(formFieldChanged.getUuid())) ).ifPresent(focus -> refresh()); } protected  BPMNDocumentationView(final BPMNDocumentationService documentationService,
                                    final ClientTranslationService clientTranslationService,
                                    final PrintHelper printHelper,
                                    final HTMLElement documentationDiv,
                                    final Button printButton); @Inject  BPMNDocumentationView(final BPMNDocumentationService documentationService,
                                 final ClientTranslationService clientTranslationService,
                                 final PrintHelper printHelper); @Override BPMNDocumentationView setIsSelected(final Supplier<Boolean> isSelected); @Override BPMNDocumentationView initialize(Diagram diagram); @Override BPMNDocumentationView refresh(); @Override boolean isEnabled();  }### Answer:
@Test public void onFormFieldChanged() { tested.setIsSelected(() -> true); tested.onFormFieldChanged(new FormFieldChanged(null, null, "uuid")); verify(tested).refresh(); }