@Test
public void noLinks() {

    List<PDAnnotation> annotations = Arrays.asList(new PDAnnotationText());
    oldPage.setAnnotations(annotations);
    PDDocument doc = new PDDocument();
    doc.addPage(oldPage);
    new AnnotationsDistiller(doc).retainRelevantAnnotations(lookup);
    assertEquals(1, newPage.getAnnotations().size());
}