@Test
  public void testSimpleBlobPutSuccess() throws Exception {
    requestAndResultsList.clear();
    requestAndResultsList.add(new RequestAndResult(chunkSize));
    submitPutsAndAssertSuccess(true);
    for (int i = 0; i < 10; i++) {
      // size in [1, chunkSize]
      requestAndResultsList.clear();
      requestAndResultsList.add(new RequestAndResult(random.nextInt(chunkSize) + 1));
      mockClusterMap.clearLastNRequestedPartitionClasses();
      submitPutsAndAssertSuccess(true);
      // since the puts are processed one at a time, it is fair to check the last partition class set
      checkLastRequestPartitionClasses(1, MockClusterMap.DEFAULT_PARTITION_CLASS, false);
    }
    Assert.assertEquals("Metrics should show no creation of metadata chunk", 0,
        metrics.metadataChunkCreationCount.getCount());
  }
Tests puts of simple blobs, that is blobs that end up as a single chunk with no metadata content.
@throws Exception
ambry-router/src/test/java/com/github/ambry/router/PutManagerTest.java