@SuppressWarnings("unlikely-arg-type")
	@Test
	public void testAsMapRemove() {
		try (Transaction tid = trans()) {
			assertNull(map.remove(null));
			assertNull(map.remove(0L));
			assertNull(map.remove("Wrong type"));
			MyObject obj = store.create();
			assertEquals(obj, map.remove(0L));
			assertEquals(0, store.getRecordCount());
			assertNull(map.remove(0L));
		}
	}
This exists to verify behavior in {@link #testAsValuesSubIterator()}
Ghidra/Debug/ProposedUtils/src/test/java/ghidra/util/database/DBCachedObjectStoreTest.java