@Test
	public void testAsValuesRemoveAll() {
		assertFalse(values.removeAll(List.of()));
		try (Transaction tid = trans()) {
			MyObject obj1 = store.create();
			MyObject obj2 = store.create();
			assertFalse(values.removeAll(List.of()));
			assertTrue(values.removeAll(List.of(obj2)));
			assertTrue(store.contains(obj1));
			assertFalse(store.contains(obj2));
			assertFalse(values.removeAll(List.of(obj2)));
		}
	}
This exists to verify behavior in {@link #testAsValuesSubIterator()}
Ghidra/Debug/ProposedUtils/src/test/java/ghidra/util/database/DBCachedObjectStoreTest.java