@Test
	public void testEmpty() {
		assertEquals(List.of(), getOverlaps(set(), set()));
		assertEquals(List.of(), getOverlaps(set(), set(rng(0x1000, 0x1fff))));
		assertEquals(List.of(), getOverlaps(set(rng(0x1000, 0x1fff)), set()));
	}
Copies each entry into a new list, since the iterator may modify the entry in place

@param it the source iterator
@return the destination (new) list
Ghidra/Debug/Framework-TraceModeling/src/test/java/ghidra/trace/util/OverlappingObjectIteratorTest.java