@Test(description = "This test case tests the populateNotificationConfig method and retrieval of the same.")
public void testPopulatePushNotificationConfig() throws InvocationTargetException, IllegalAccessException {

    populatePushNotificationConfig
            .invoke(androidDeviceTypeManagerService, androidDeviceConfiguration.getPushNotificationProvider());
    PushNotificationConfig pushNotificationConfig = androidDeviceTypeManagerService.getPushNotificationConfig();
    Assert.assertNotEquals(pushNotificationConfig, null, "Push notification configuration is set even though "
            + "Push notfication configuration was not mentioned.");
    populatePushNotificationConfig.invoke(rasberrypiDeviceTypeManagerService,
            rasberrypiDeviceConfiguration.getPushNotificationProvider());
    pushNotificationConfig = rasberrypiDeviceTypeManagerService.getPushNotificationConfig();
    PushNotificationProvider pushNotificationProvider = rasberrypiDeviceConfiguration.getPushNotificationProvider();
    Assert.assertEquals(pushNotificationConfig.getType(), pushNotificationProvider.getType());
    Assert.assertEquals(pushNotificationConfig.isScheduled(), pushNotificationProvider.isScheduled());
}