@Test (description = "This test case tests the Device task config retrieval")
public void testDeviceStatusTaskConfig () throws InvocationTargetException, IllegalAccessException {

    setDeviceStatusTaskPluginConfig
            .invoke(androidDeviceTypeManagerService, androidDeviceConfiguration.getDeviceStatusTaskConfiguration());
    DeviceStatusTaskPluginConfig deviceStatusTaskPuginConfig = androidDeviceTypeManagerService
            .getDeviceStatusTaskPluginConfig();
    DeviceStatusTaskConfiguration deviceStatusTaskConfiguration = androidDeviceConfiguration
            .getDeviceStatusTaskConfiguration();
    Assert.assertEquals(deviceStatusTaskPuginConfig.getFrequency(), deviceStatusTaskConfiguration.getFrequency(),
            "Frequency provided in the device task configuration is not set properly.");
    Assert.assertEquals(deviceStatusTaskPuginConfig.getIdleTimeToMarkInactive(),
            deviceStatusTaskConfiguration.getIdleTimeToMarkInactive(),
            "Idle time to mark inactive provided in " + "the device task configuration is not set properly.");
    Assert.assertEquals(deviceStatusTaskPuginConfig.getIdleTimeToMarkUnreachable(),
            deviceStatusTaskConfiguration.getIdleTimeToMarkUnreachable(),
            "Idle time to mark un-reachable " + "provided in the device task configuration is not set properly.");
    Assert.assertEquals(deviceStatusTaskPuginConfig.isRequireStatusMonitoring(),
            deviceStatusTaskConfiguration.isEnabled(),
            "Enabled status provided in the device task configuration" + " is not set properly");
    setDeviceStatusTaskPluginConfig.invoke(rasberrypiDeviceTypeManagerService,
            rasberrypiDeviceConfiguration.getDeviceStatusTaskConfiguration());
    deviceStatusTaskPuginConfig = rasberrypiDeviceTypeManagerService.getDeviceStatusTaskPluginConfig();
    Assert.assertEquals(deviceStatusTaskPuginConfig.getFrequency(), 0);
}