ReplicateBlobResponse makeReplicateBlobResponse(ReplicateBlobRequest replicateBlobRequest,
      ServerErrorCode replicateBlobError) {
    if (replicateBlobError == ServerErrorCode.NoError) {
      replicateBlobError =
          errorCodeForBlobs.getOrDefault(replicateBlobRequest.getBlobId().getID(), ServerErrorCode.NoError);
    }
    if (replicateBlobError == ServerErrorCode.NoError) {
      updateBlobMap(replicateBlobRequest);
    }
    return new ReplicateBlobResponse(replicateBlobRequest.getCorrelationId(), replicateBlobRequest.getClientId(),
        replicateBlobError);
  }
Make a {@link ReplicateBlobResponse} for the given {@link ReplicateBlobRequest} for which the given {@link ServerErrorCode} was
encountered.
*
@return the constructed {@link ReplicateBlobResponse}
ambry-router/src/test/java/com/github/ambry/router/MockServer.java