Iterator<PreparedTransactionInfo> iterActual = actual.iterator();
while (iterExpected.hasNext())
{
PreparedTransactionInfo rexpected = iterExpected.next();
PreparedTransactionInfo ractual = iterActual.next();
Assert.assertEquals("ids not same", rexpected.id, ractual.id);
checkRecordsEquivalent(rexpected.records, ractual.records);