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

			@Override
			public void modifyLatest(ProgramDB program) {
				Listing listing = program.getListing();
				CodeUnit cu;
				cu = listing.getCodeUnitAt(addr(program, "0x10065e3"));
				cu.setComment(CommentType.EOL, "EOL");
				cu.setComment(CommentType.PRE, "Pre");
				cu.setComment(CommentType.POST, "Post");
				cu.setComment(CommentType.PLATE, "Plate");
				cu.setComment(CommentType.REPEATABLE, "Repeatable");

				createData(program, "0x10065e8", new DWordDataType());
			}

			@Override
			public void modifyPrivate(ProgramDB program) {
				createData(program, "0x10065e2", new FloatDataType());

				Listing listing = program.getListing();
				CodeUnit cu;
				cu = listing.getCodeUnitAt(addr(program, "0x10065e9"));
				cu.setComment(CommentType.EOL, "EOL2");
				cu.setComment(CommentType.PRE, "Pre2");
				cu.setComment(CommentType.POST, "Post2");
				cu.setComment(CommentType.PLATE, "Plate2");
				cu.setComment(CommentType.REPEATABLE, "Repeatable2");
			}
		});

		executeMerge(ASK_USER);
		waitForMergeCompletion();

		Listing listing = resultProgram.getListing();

		CodeUnit cu;
		cu = listing.getCodeUnitContaining(addr("0x10065e3"));
		assertEquals(addr("0x10065e2"), cu.getMinAddress());
		assertEquals(4, cu.getLength());
		assertTrue(((Data) cu).getDataType().isEquivalent(new FloatDataType()));
		assertEquals("EOL", listing.getComment(CommentType.EOL, addr("0x10065e3")));
		assertEquals("Pre", listing.getComment(CommentType.PRE, addr("0x10065e3")));
		assertEquals("Post", listing.getComment(CommentType.POST, addr("0x10065e3")));
		assertEquals("Plate", listing.getComment(CommentType.PLATE, addr("0x10065e3")));
		assertEquals("Repeatable", listing.getComment(CommentType.REPEATABLE, addr("0x10065e3")));

		cu = listing.getCodeUnitContaining(addr("0x10065e9"));
		assertEquals(addr("0x10065e8"), cu.getMinAddress());
		assertEquals(4, cu.getLength());
		assertTrue(((Data) cu).getDataType().isEquivalent(new DWordDataType()));
		assertEquals("EOL2", listing.getComment(CommentType.EOL, addr("0x10065e9")));
		assertEquals("Pre2", listing.getComment(CommentType.PRE, addr("0x10065e9")));
		assertEquals("Post2", listing.getComment(CommentType.POST, addr("0x10065e9")));
		assertEquals("Plate2", listing.getComment(CommentType.PLATE, addr("0x10065e9")));
		assertEquals("Repeatable2", listing.getComment(CommentType.REPEATABLE, addr("0x10065e9")));
	}
Test the merge of the versioned program's listing.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/CommentMergeManager2Test.java