@Test(description = "This test case tests the policy monitoring configuration setting.")
public void testSetPolicyMonitoring() throws InvocationTargetException, IllegalAccessException {

    setPolicyMonitoringManager
            .invoke(androidDeviceTypeManagerService, androidDeviceConfiguration.getPolicyMonitoring());
    Assert.assertEquals(androidDeviceTypeManagerService.getPolicyMonitoringManager() != null,
            (androidDeviceConfiguration.getPolicyMonitoring() != null && androidDeviceConfiguration
                    .getPolicyMonitoring().isEnabled()),
            "Policy Management configurations are added as per the " + "configuration file");
    setPolicyMonitoringManager
            .invoke(rasberrypiDeviceTypeManagerService, rasberrypiDeviceConfiguration.getPolicyMonitoring());
    Assert.assertEquals(rasberrypiDeviceTypeManagerService.getPolicyMonitoringManager() != null,
            (rasberrypiDeviceConfiguration.getPolicyMonitoring() != null && rasberrypiDeviceConfiguration
                    .getPolicyMonitoring().isEnabled()),
            "Policy Management configurations are added as " + "per the " + "configuration file");
}