private void validateListResult(List<NamedBlobRecord> obtained, List<NamedBlobRecord> expected) {
    assertEquals("List result size does not match", expected.size(), obtained.size());
    for (int i = 0; i < expected.size(); i++) {
      assertEquals("List result does not match at index " + i, expected.get(i), obtained.get(i));
    }
  }
Validate the result from list operation.
@param obtained the obtained list
@param expected the expected list
ambry-named-mysql/src/integration-test/java/com/github/ambry/named/MySqlNamedBlobDbListOperationIntegrationTest.java