@Test
	public void testAsEntrySetSubRemoveAll() {
		populateStore(-3, -1, 1, 3);

		DBCachedObjectStoreEntrySubSet<MyObject> tailSet = entrySet.tailSet(ent(0), true);

		Entry<Long, MyObject> entN3 = ent(store.getObjectAt(-3));
		Entry<Long, MyObject> entN1 = ent(store.getObjectAt(-1));
		Entry<Long, MyObject> entP3 = ent(store.getObjectAt(3));

		try (Transaction tid = trans()) {
			assertFalse(tailSet.removeAll(List.of("Wrong type", entN3, entN1)));
			assertTrue(tailSet.removeAll(List.of("Wrong type", entP3)));
			assertFalse(tailSet.removeAll(List.of("Wrong type", entP3)));
		}

		assertEquals(3, store.getRecordCount());
		assertTrue(store.containsKey(-3));
		assertTrue(store.containsKey(-1));
		assertTrue(store.containsKey(1));
		assertFalse(store.containsKey(3));
	}
This exists to verify behavior in {@link #testAsValuesSubIterator()}
Ghidra/Debug/ProposedUtils/src/test/java/ghidra/util/database/DBCachedObjectStoreTest.java