@Override
			public void modifyLatest(ProgramDB program) {
				ReferenceManager refMgr = program.getReferenceManager();
				Reference ref = refMgr.getReference(addr(program, "0x1001a92"),
					addr(program, "0x1001370"), 0);
//					refMgr.setPrimary(ref, false);
				ref = refMgr.updateRefType(ref, RefType.READ_WRITE);
				assertEquals(RefType.READ_WRITE, ref.getReferenceType());

				ref = refMgr.getReference(addr(program, "0x1001abb"),
					addr(program, "0x1001ac1"), 0);
//					refMgr.setPrimary(ref, false);
				ref = refMgr.updateRefType(ref, RefType.WRITE);
				assertEquals(RefType.WRITE, ref.getReferenceType());
			}
Test the merge of the versioned program's listing.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/RefMergerMemTest.java