@Test
  public void getBlobPropertiesGoodInputTest() throws Exception {
    JSONObject headers = new JSONObject();
    Container[] containers = {Container.DEFAULT_PRIVATE_CONTAINER, Container.DEFAULT_PUBLIC_CONTAINER};
    for (Container container : containers) {
      setAmbryHeadersForPut(headers, Long.toString(RANDOM.nextInt(10000)), generateRandomString(10), container,
          "image/gif", generateRandomString(10));
      verifyBlobPropertiesConstructionSuccess(headers);
    }
  }
Tests building of {@link BlobProperties} given good input (all arguments in the number and format expected).
@throws Exception
ambry-api/src/test/java/com/github/ambry/rest/RestUtilsTest.java