@Test
	public void testFoundContainsAll() throws VersionException, IOException {
		DBCachedObjectIndex<Integer, MyObject> index = populateAndGetIndex();
		Collection<MyObject> found5 = index.get(5);

		assertTrue(found5.containsAll(List.of()));
		assertFalse(found5.containsAll(List.of(store.getObjectAt(1), "Wrong Type")));
		assertTrue(found5.containsAll(List.of(store.getObjectAt(1))));
		assertFalse(found5.containsAll(List.of(store.getObjectAt(1), store.getObjectAt(0))));

		final MyObject altObj1;
		MyDomainObject altDomainObject = new MyDomainObject("Alternative Dummy", 500, 1000, this);
		try (Transaction tid = altDomainObject.openTransaction("Create Obj2")) {
			altObj1 = altDomainObject.store.create(1);
		}

		assertFalse(found5.containsAll(List.of(altObj1)));
	}
This exists to verify behavior in {@link #testAsValuesSubIterator()}
Ghidra/Debug/ProposedUtils/src/test/java/ghidra/util/database/DBCachedObjectStoreTest.java