CaptureSearchResult previous = results.getResults().get(0);
CaptureSearchResult closest = results.getClosest();
// previous.setFile("aaa.warc.gz");
// previous.setOffset(0);
closest.flagDuplicateDigest(previous); // right? TODO: could be done in setupCaptures()
assertTrue(closest.isDuplicateDigest());
assertTrue(closest.getDuplicatePayloadFile() != null);
assertTrue(closest.getDuplicatePayloadOffset() != null);
EasyMock.expect(replay.getRenderer(wbRequest, closest, headerResource, payloadResource)).andReturn(replayRenderer);