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

		assertEquals(0, map.subMap(0L, true, 0L, false).size());
		assertTrue(map.subMap(0L, true, 0L, false).isEmpty());

		assertEquals(0, map.subMap(-1L, false, 1L, false).size());
		assertTrue(map.subMap(-1L, false, 1L, false).isEmpty());

		assertEquals(0, map.headMap(-4L, false).size());
		assertTrue(map.headMap(-4L, false).isEmpty());

		assertEquals(0, map.tailMap(4L, false).size());
		assertTrue(map.tailMap(4L, false).isEmpty());

		assertEquals(2, map.subMap(-2L, true, 2L, true).size());
		assertFalse(map.subMap(-2L, true, 2L, true).isEmpty());

		assertEquals(2, map.headMap(0L, true).size());
		assertFalse(map.headMap(0L, true).isEmpty());

		assertEquals(2, map.tailMap(0L, true).size());
		assertFalse(map.tailMap(0L, true).isEmpty());
	}
This exists to verify behavior in {@link #testAsValuesSubIterator()}
Ghidra/Debug/ProposedUtils/src/test/java/ghidra/util/database/DBCachedObjectStoreTest.java