@Test(description = "This test cases tests the retrieval of provisioning config after providing the configurations "
        + "values")
public void testWithProvisioningConfig() throws Exception {

    boolean isRasberryPiSharedWithTenants =
            (rasberrypiDeviceConfiguration.getProvisioningConfig() != null) && rasberrypiDeviceConfiguration
                    .getProvisioningConfig().isSharedWithAllTenants();
    setProvisioningConfig.invoke(androidDeviceTypeManagerService, MultitenantConstants.SUPER_TENANT_DOMAIN_NAME,
            androidDeviceConfiguration);
    ProvisioningConfig provisioningConfig = androidDeviceTypeManagerService.getProvisioningConfig();
    Assert.assertEquals(provisioningConfig.isSharedWithAllTenants(),
            androidDeviceConfiguration.getProvisioningConfig().isSharedWithAllTenants(),
            "Provisioning configs are not correctly set as per the configuration file provided");
    setProvisioningConfig.invoke(rasberrypiDeviceTypeManagerService, MultitenantConstants.SUPER_TENANT_DOMAIN_NAME,
            rasberrypiDeviceConfiguration);
    provisioningConfig = rasberrypiDeviceTypeManagerService.getProvisioningConfig();
    Assert.assertEquals(provisioningConfig.isSharedWithAllTenants(), isRasberryPiSharedWithTenants,
            "Provisioning configs are not correctly set as per the configuration file provided.");
}