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

		DBCachedObjectStoreValueSubCollection<MyObject> headValues = map.headMap(0L, true).values();
		MyObject objN3 = store.getObjectAt(-3);
		MyObject objN1 = store.getObjectAt(-1);
		MyObject objP3 = store.getObjectAt(3);
		assertFalse(headValues.containsAll(List.of(objN3, objN1, "Wrong type")));
		assertTrue(headValues.containsAll(List.of(objN3, objN1)));
		assertFalse(headValues.containsAll(List.of(objN3, objN1, objP3)));
	}
This exists to verify behavior in {@link #testAsValuesSubIterator()}
Ghidra/Debug/ProposedUtils/src/test/java/ghidra/util/database/DBCachedObjectStoreTest.java