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

		assertTrue(IteratorUtils.toList(entrySet.subSet(ent(0), true, ent(0), false).iterator())
				.isEmpty());

		List<Long> list = IteratorUtils.toList(entrySet.tailSet(ent(0), true).iterator())
				.stream()
				.map(Entry::getKey)
				.collect(Collectors.toList());
		assertEquals(List.of(1L, 3L), list);

		List<Long> rList = IteratorUtils.toList(rEntrySet.tailSet(ent(0), true).iterator())
				.stream()
				.map(Entry::getKey)
				.collect(Collectors.toList());
		assertEquals(List.of(-1L, -3L), rList);
	}
This exists to verify behavior in {@link #testAsValuesSubIterator()}
Ghidra/Debug/ProposedUtils/src/test/java/ghidra/util/database/DBCachedObjectStoreTest.java