@Test
public void parseJsonArray() {

    String jsonArr =
            "[{ \"realmKey\" : \"RYT\",\"realmDomainComponent\" : \"oracleclour-bar.com\",\"regionKey\" : \"atl\",\"regionIdentifier\" : \"ap-atl-1\"},{ \"realmKey\" :\"YUT\",\"realmDomainComponent\" : \"oraclefoobar-cloud.com\",\"regionKey\" : \"LAV\",\"regionIdentifier\" : \"us-lav-1\"}]";
    RegionSchema[] regionSchemas =
            JsonConverter.jsonBlobToObject(jsonArr, RegionSchema[].class);
    assertThat(regionSchemas.length, is(2));
}