@Test
	public void testAsEntrySetSubSet() {
		assertEquals(map.subMap(1L, 2L).keySet().keySpan, entrySet.subSet(ent(1), ent(2)).keySpan);
		assertEquals(rMap.subMap(2L, 1L).keySet().keySpan,
			rEntrySet.subSet(ent(2), ent(1)).keySpan);
		assertEquals(map.subMap(1L, 2L).keySet().direction,
			entrySet.subSet(ent(1), ent(2)).direction);
		assertEquals(rMap.subMap(2L, 1L).keySet().direction,
			rEntrySet.subSet(ent(2), ent(1)).direction);

		populateStore(-5, -3, -1, 1, 3, 5);

		assertEquals(List.of(-1L, 1L),
			new ArrayList<>(entrySet.subSet(ent(-3), false, ent(3), false)).stream()
					.map(Entry::getKey)
					.collect(Collectors.toList()));
		assertEquals(List.of(1L, -1L),
			new ArrayList<>(rEntrySet.subSet(ent(3), false, ent(-3), false)).stream()
					.map(Entry::getKey)
					.collect(Collectors.toList()));

		assertEquals(List.of(-3L, -1L, 1L),
			new ArrayList<>(entrySet.subSet(ent(-3), true, ent(3), false)).stream()
					.map(Entry::getKey)
					.collect(Collectors.toList()));
		assertEquals(List.of(1L, -1L, -3L),
			new ArrayList<>(rEntrySet.subSet(ent(3), false, ent(-3), true)).stream()
					.map(Entry::getKey)
					.collect(Collectors.toList()));
		assertEquals(List.of(-3L, -1L, 1L),
			new ArrayList<>(entrySet.subSet(ent(-3), ent(3))).stream()
					.map(Entry::getKey)
					.collect(Collectors.toList()));

		assertEquals(List.of(-1L, 1L, 3L),
			new ArrayList<>(entrySet.subSet(ent(-3), false, ent(3), true)).stream()
					.map(Entry::getKey)
					.collect(Collectors.toList()));
		assertEquals(List.of(3L, 1L, -1L),
			new ArrayList<>(rEntrySet.subSet(ent(3), true, ent(-3), false)).stream()
					.map(Entry::getKey)
					.collect(Collectors.toList()));
		assertEquals(List.of(3L, 1L, -1L),
			new ArrayList<>(rEntrySet.subSet(ent(3), ent(-3))).stream()
					.map(Entry::getKey)
					.collect(Collectors.toList()));

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