@Test(description = "This test case tests is compliant",
      dependsOnMethods = "testIsCompliant")
public void testIsCompliant2() throws Exception {

    MonitoringDAO monitoringDAO = spy(MonitoringDAOImpl.class);
    doReturn(null).when(monitoringDAO).getCompliance(anyInt(),anyInt());
    Object oldObj = changeFieldValue(monitoringManager, "monitoringDAO", monitoringDAO);
    try {
        DeviceIdentifier deviceIdentifier = new DeviceIdentifier();
        deviceIdentifier.setType(DEVICE_TYPE_E);
        deviceIdentifier.setId(String.valueOf(device5.getDeviceIdentifier()));
        boolean compliant = monitoringManager.isCompliant(deviceIdentifier);
        Assert.assertEquals(compliant,false);
    } finally {
        changeFieldValue(monitoringManager, "monitoringDAO", oldObj);
    }
}