@Test
	public void testMemRefRemoveNoConflict() throws Exception {
		// Mem Refs
		// 01001a92: op0 to 01001370 DAT_01001370 DATA primary user
		// 01001abb: op0 to 01001ac1 LAB_01001ac1 CONDITIONAL_JUMP primary
		// 01001aec: op1 to 01001398 AddrTable010080c0Element36 DATA primary
		// 01001b5f: op0 to 010061e3 FUN_010061e3 UNCONDITIONAL_CALL primary

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

			@Override
			public void modifyLatest(ProgramDB program) {
				ReferenceManager refMgr = program.getReferenceManager();
				Reference ref;
				ref = refMgr.getReference(addr(program, "0x1001a92"),
					addr(program, "0x1001370"), 0);
				refMgr.delete(ref);
				ref = refMgr.getReference(addr(program, "0x1001abb"),
					addr(program, "0x1001ac1"), 0);
				refMgr.delete(ref);
			}

			@Override
			public void modifyPrivate(ProgramDB program) {
				ReferenceManager refMgr = program.getReferenceManager();
				Reference ref;
				ref = refMgr.getReference(addr(program, "0x1001a92"),
					addr(program, "0x1001370"), 0);
				refMgr.delete(ref);
				ref = refMgr.getReference(addr(program, "0x1001aec"),
					addr(program, "0x1001398"), 1);
				refMgr.delete(ref);
			}
		});

		executeMerge(ASK_USER);
		waitForMergeCompletion();

		ReferenceManager refMgr = resultProgram.getReferenceManager();
		Reference ref;
		ref = refMgr.getReference(addr("0x1001a92"), addr("0x1001370"), 0);
		assertNull(ref);

		ref = refMgr.getReference(addr("0x1001abb"), addr("0x1001ac1"), 0);
		assertNull(ref);

		ref = refMgr.getReference(addr("0x1001aec"), addr("0x1001398"), 1);
		assertNull(ref);
	}
Test the merge of the versioned program's listing.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/RefMergerMemTest.java