@Test
	public void testGetMaxKey() {
		assertNull(store.getMaxKey());
		try (Transaction tid = trans()) {
			MyObject obj = store.create();
			assertTrue(store.contains(obj));
		}
		assertEquals(0, store.getMaxKey().longValue());
	}
This exists to verify behavior in {@link #testAsValuesSubIterator()}
Ghidra/Debug/ProposedUtils/src/test/java/ghidra/util/database/DBCachedObjectStoreTest.java