@Test(expected = TaskPermissionsException.class)
public void testNotAannotation() throws TaskPermissionsException {

    when(permission.canModifyAnnotations()).thenReturn(Boolean.FALSE);
    victim.ensurePermission(PdfAccessPermission.ANNOTATION);
}