@Test
  public void testOrigDcNotFound() throws Exception {
    doPut();

    // Default all replicas to return not found.
    int serverCount = mockServerLayout.getMockServers().size();
    List<ServerErrorCode> serverErrorCodes = Collections.nCopies(serverCount, ServerErrorCode.IOError);
    setServerErrorCodes(serverErrorCodes, mockServerLayout);

    // Set 3 not found from standby in originating dc
    List<MockServer> serversInLocalDc = new ArrayList<>();
    mockServerLayout.getMockServers().forEach(mockServer -> {
      if (mockServer.getDataCenter().equals(localDcName)) {
        serversInLocalDc.add(mockServer);
      }
    });
    serversInLocalDc.get(0).setServerErrorForAllRequests(ServerErrorCode.BlobNotFound);
    serversInLocalDc.get(1).setServerErrorForAllRequests(ServerErrorCode.BlobNotFound);
    serversInLocalDc.get(2).setServerErrorForAllRequests(ServerErrorCode.BlobNotFound);

    getErrorCodeChecker.testAndAssert(RouterErrorCode.BlobDoesNotExist);
  }
Test the case when all of the replicas in originating DC return NotFound, we should return BlobNotFound.
@throws Exception
ambry-router/src/test/java/com/github/ambry/router/GetBlobOperationTest.java