@Test
public void testOwnerUnethical() throws TaskPermissionsException {

    when(permission.isOwnerPermission()).thenReturn(Boolean.FALSE);
    System.setProperty(Sejda.UNETHICAL_READ_PROPERTY_NAME, "true");
    victim.ensureOwnerPermissions();
    System.setProperty(Sejda.UNETHICAL_READ_PROPERTY_NAME, "false");
}