@Test(description = "Get active policy but there is no EvaluationPoint define for device yet should be return PolicyManagement exception" +
        " caused by PolicyEvaluationException",dependsOnMethods = "addPolicy",expectedExceptions = PolicyManagementException.class)
public void getActivePolicyForDeviceWithNoEvaluationEPDefine() throws Exception {

    PolicyEvaluationPoint policyEvaluationPoint = null;
    try{
        policyEvaluationPoint = PolicyManagementDataHolder.getInstance().getPolicyEvaluationPoint();
        PolicyManagementDataHolder.getInstance().setPolicyEvaluationPoint("Simple", null);
        policyManagerService.getEffectivePolicy(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A));
    }catch (Exception e){
        Assert.assertTrue(e.getCause() instanceof PolicyEvaluationException);
        throw e;
    }finally {
        PolicyManagementDataHolder.getInstance().setPolicyEvaluationPoint("Simple", policyEvaluationPoint);
    }
}