@Test
public void testDegradedPrint() throws TaskPermissionsException {

    when(permission.canPrintDegraded()).thenReturn(Boolean.TRUE);
    victim.ensurePermission(PdfAccessPermission.DEGRADATED_PRINT);
}