@SuppressWarnings("unlikely-arg-type")
	@Test
	public void testAsValuesRemove() {
		try (Transaction tid = trans()) {
			MyObject obj = store.create();
			assertEquals(1, store.getRecordCount());

			assertFalse(values.remove(null));
			assertFalse(values.remove("Wrong type"));
			assertTrue(store.contains(obj));
			assertTrue(values.remove(obj));
			assertFalse(store.contains(obj));
			assertEquals(0, store.getRecordCount());
		}
	}
This exists to verify behavior in {@link #testAsValuesSubIterator()}
Ghidra/Debug/ProposedUtils/src/test/java/ghidra/util/database/DBCachedObjectStoreTest.java