@Test
public void testIterator() {

    List<Write> writes = getWrites();
    for (Write write : writes) {
        add(write.getKey().toString(), write.getValue().getTObject(),
                write.getRecord().longValue());
    }
    Iterator<Write> it0 = ((Limbo) store).iterator();
    Iterator<Write> it1 = writes.iterator();
    while (it1.hasNext()) {
        Assert.assertTrue(it0.hasNext());
        Write w0 = it0.next();
        Write w1 = it1.next();
        Assert.assertEquals(w0, w1);
    }
    Assert.assertFalse(it0.hasNext());
}