@Test
  public void testStorageAccountInfoConfigSimple() {
    configProps.setProperty(AzureCloudConfig.AZURE_STORAGE_ACCOUNT_INFO,
        "{\n" + "    \"storageAccountInfo\":[\n" + "      {\n" + "        \"name\":\"testStorageAccount1\",\n"
            + "        \"partitionRange\":\"0-1000000\",\n"
            + "        \"storageScope\":\"https://testStorageAccount1.blob.core.windows.net/.default\",\n"
            + "        \"storageConnectionString\":\"https://testStorageAccount1.blob.core.windows.net/\",\n"
            + "        \"storageEndpoint\":\"https://testStorageAccount1.blob.core.windows.net\",\n" + "      }\n"
            + "    ]\n" + "    }");
    AzureCloudConfig azureCloudConfig = new AzureCloudConfig(new VerifiableProperties(configProps));
    List<AzureCloudConfig.StorageAccountInfo> storageAccountInfoList = azureCloudConfig.azureStorageAccountInfo;
    Assert.assertEquals(1, storageAccountInfoList.size());
    Assert.assertEquals(0, storageAccountInfoList.get(0).getPartitionRangeStart());
    Assert.assertEquals(1000000, storageAccountInfoList.get(0).getPartitionRangeEnd());
    Assert.assertEquals("https://testStorageAccount1.blob.core.windows.net/.default",
        storageAccountInfoList.get(0).getStorageScope());
    Assert.assertEquals("https://testStorageAccount1.blob.core.windows.net/",
        storageAccountInfoList.get(0).getStorageConnectionString());
    Assert.assertEquals("https://testStorageAccount1.blob.core.windows.net",
        storageAccountInfoList.get(0).getStorageEndpoint());
  }
Test Azure cloud config for a single storage account
ambry-cloud/src/test/java/com/github/ambry/cloud/azure/AzureCloudConfigTest.java