@Test
	public void testRemoveCommentInsideLatestCodeUnit() throws Exception {
		mtf.initialize("DiffTestPgm1", new ProgramModifierListener() {

			@Override
			public void modifyLatest(ProgramDB program) {
				Listing listing = program.getListing();
				listing.setComment(addr(program, "0x1002040"), CommentType.POST, null);
				disassemble(program,
					new AddressSet(addr(program, "0x100203e"), addr(program, "0x1002043")), false);
			}

			@Override
			public void modifyPrivate(ProgramDB program) {
				Listing listing = program.getListing();
				listing.setComment(addr(program, "0x1002040"), CommentType.PLATE, null);
			}
		});

		executeMerge(ASK_USER);
		waitForMergeCompletion();

		Listing listing = resultProgram.getListing();

		CodeUnit cu;
		cu = listing.getCodeUnitContaining(addr("0x1002040"));
		assertEquals(addr("0x100203f"), cu.getMinAddress());
		assertEquals(2, cu.getLength());
		assertTrue(cu instanceof Instruction);
		assertEquals("EOL in P1.", listing.getComment(CommentType.EOL, addr("0x1002040")));
		assertEquals("Pre in P1.", listing.getComment(CommentType.PRE, addr("0x1002040")));
		assertNull(listing.getComment(CommentType.POST, addr("0x1002040")));
		assertNull(listing.getComment(CommentType.PLATE, addr("0x1002040")));
		assertEquals("Repeatable in P1.",
			listing.getComment(CommentType.REPEATABLE, addr("0x1002040")));
	}
Test the merge of the versioned program's listing.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/CommentMergeManager2Test.java