// create valid images (possibly with missing md5s
for (int i = 0; i < iterations; i++) {
boolean removeMd5 = rand.nextBoolean();
createImage(txid + i, true, removeMd5);
// this should be in the manifest later
expectedImages.add(new RemoteImage(txid + i, removeMd5 ? null : digests
.get(txid + i)));
}
for (int i = 0; i < iterations; i++) {
createImage(txid + i + iterations, false, false);