@Test
  public void testBadBlobId() throws Exception {
    router = getNonBlockingRouter();
    setOperationParams(CHUNK_SIZE, new GetBlobOptionsBuilder().build());
    String[] badBlobIds = {"", "abc", "123", "invalid_id", "[],/-"};
    for (String blobId : badBlobIds) {
      for (GetBlobOptions.OperationType opType : GetBlobOptions.OperationType.values()) {
        getBlobAndAssertFailure(blobId, new GetBlobOptionsBuilder().operationType(opType).build(),
            RouterErrorCode.InvalidBlobId);
      }
    }
    router.close();
  }
Tests Bad blobId for different get operations
@throws Exception
ambry-router/src/test/java/com/github/ambry/router/GetManagerTest.java