@Test
	public void testCreateWithKey() throws IOException {
		try (Transaction tid = trans()) {
			assertFalse(store.isCached(0));
			MyObject obj = store.create(0x80);
			assertEquals(0x80, obj.getKey());
			assertTrue(store.isCached(0x80));
			Table table = handle.getTable(OBJECTS_TABLE_NAME);
			DBRecord record = table.getRecord(obj.getKey());
			assertNotNull(record);
		}
	}
This exists to verify behavior in {@link #testAsValuesSubIterator()}
Ghidra/Debug/ProposedUtils/src/test/java/ghidra/util/database/DBCachedObjectStoreTest.java