@Test(dependsOnMethods = "inactivatePolicy")
public void updatePolicy() throws PolicyManagementException {

    Policy policy1Temp = policyManagerService.getPAP().getPolicy(policy1.getId());
    policy1Temp.setDescription("Updated policy1");
    policy1Temp = policyManagerService.updatePolicy(policy1Temp);
    Policy policy1Updated = policyManagerService.getPAP().getPolicy(policy1.getId());
    Assert.assertEquals(policy1Updated.getDescription(), policy1Temp.getDescription(), "Policy was not updated successfully.");
}