public void getConflictedDocumentIds_oneDeletedLeafAndOneLiveLeaf_conflicts() throws Exception {
DocumentRevision rev = this.createDocumentRevision("Tom");
this.datastore.delete(rev);
InternalDocumentRevision newRev = this.createDetachedDocumentRevision(rev.getId(), "4-a", "Jerry");
this.datastore.forceInsert(newRev, "1-a", "2-a", "3-a", "4-a");
<BUG>Iterator<String> iterator = this.datastore.getConflictedIds();
</BUG>
List<String> conflictedDocId = CollectionUtils.newArrayList(iterator);
Assert.assertThat(conflictedDocId, hasSize(0));
}

public void getConflictedDocumentIds_oneDeletedLeafAndOneLiveLeaf_conflicts() throws Exception {
DocumentRevision rev = this.createDocumentRevision("Tom");
this.datastore.delete(rev);
InternalDocumentRevision newRev = this.createDetachedDocumentRevision(rev.getId(), "4-a", "Jerry");
this.datastore.forceInsert(newRev, "1-a", "2-a", "3-a", "4-a");
Iterator<String> iterator = this.datastore.getConflictedIds().iterator();
List<String> conflictedDocId = CollectionUtils.newArrayList(iterator);
Assert.assertThat(conflictedDocId, hasSize(0));
}
