@Test
	public void testRemoveSpaceProperty() throws Exception {
		// ** DiffTestPgm2 **
		// 10018ba = 1
		// 10018ce = 2
		// 10018ff = 2
		// 1002428 = 1
		// 100248c = 1 , WHITE(255,255,255)
		// 10039f1 = BLACK(0,0,0)
		// 10039f8 = BLACK(0,0,0)
		// 10039fe = GREEN(0,255,0)

		mtf.initialize("DiffTestPgm2", new ProgramModifierListener() {

			@Override
			public void modifyLatest(ProgramDB program) {
				PropertyMapManager pmm = program.getUsrPropertyManager();
				IntPropertyMap pm = pmm.getIntPropertyMap("Space");
				pm.remove(addr(program, "0x10018ba"));
				pm.remove(addr(program, "0x1002428"));
			}

			@Override
			public void modifyPrivate(ProgramDB program) {
				PropertyMapManager pmm = program.getUsrPropertyManager();
				IntPropertyMap pm = pmm.getIntPropertyMap("Space");
				pm.remove(addr(program, "0x10018ce"));
				pm.remove(addr(program, "0x1002428"));
			}
		});

		executeMerge(ASK_USER);
		waitForMergeCompletion();

		PropertyMapManager pmm = resultProgram.getUsrPropertyManager();
		IntPropertyMap pm = pmm.getIntPropertyMap("Space");
		Address address = resultProgram.getMinAddress();
		address = pm.getNextPropertyAddress(address);
		assertEquals(addr("0x10018ff"), address);
		assertEquals(2, pm.getInt(address));
		address = pm.getNextPropertyAddress(address);
		assertEquals(addr("0x100248c"), address);
		assertEquals(1, pm.getInt(address));
		address = pm.getNextPropertyAddress(address);
		assertNull(address);
	}
Test the merge of the versioned program's listing.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/UserDefinedPropertyMergeManagerTest.java