public void testLookupDoesNotReturnDeletedWavelets() throws Exception {
Pair<DeltaStore, WaveletDeltaRecord> pair = newDeltaStoreWithRecord(WAVE1_WAVELET1);
DeltaStore store = pair.first;
store.delete(WAVE1_WAVELET1);
assertTrue(store.lookup(WAVE1_WAVELET1.waveId).isEmpty());
}
public void testWaveIdIteratorReturnsWaveIds() throws Exception {
Pair<DeltaStore,WaveletDeltaRecord> pair = newDeltaStoreWithRecord(WAVE1_WAVELET1);
DeltaStore store = pair.first;