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

		List<Long> list = IteratorUtils
				.toList(IteratorUtils.transformedIterator(values.iterator(), MyObject::getKey));
		assertEquals(List.of(-3L, -1L, 1L, 3L), list);

		List<Long> rList = IteratorUtils
				.toList(IteratorUtils.transformedIterator(rValues.iterator(), MyObject::getKey));
		assertEquals(List.of(3L, 1L, -1L, -3L), rList);
	}
This exists to verify behavior in {@link #testAsValuesSubIterator()}
Ghidra/Debug/ProposedUtils/src/test/java/ghidra/util/database/DBCachedObjectStoreTest.java