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

		try (Transaction tid = trans()) {
			keySet.subSet(0L, 0L).clear(); // NOP
			assertEquals(4, store.getRecordCount());
			keySet.tailSet(0L, true).clear();
		}

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