@Test
public void dispatchProcessing_selectionCitation_shouldWork() throws Exception {

    PowerMock.mockStatic(CitationsVisualizer.class);
    expect(CitationsVisualizer.annotatePdfWithCitations(anyObject(PDDocument.class), anyObject(Document.class), anyObject(List.class))).andReturn(null);
    PowerMock.replay(CitationsVisualizer.class);
    target.dispatchProcessing(GrobidRestUtils.Annotation.CITATION,
            null, null, null);
    PowerMock.verify(CitationsVisualizer.class);
}