@Test
	public void testRemoveInnerAddOuterChangeInnerPickLatest() throws Exception {

		final CategoryPath rootPath = new CategoryPath("/");

		setupRemoveInnerVsAddOuterContainingChangedInner();

		executeMerge();

		chooseOption(DataTypeMergeManager.OPTION_LATEST);

		dismissUnresolvedDataTypesPopup();

		waitForCompletion();

		DataTypeManager dtm = resultProgram.getDataTypeManager();
		StructureInternal inner = (StructureInternal) dtm.getDataType(rootPath, "inner");
		assertNull(inner);

		StructureInternal outer = (StructureInternal) dtm.getDataType(rootPath, "outer");
		assertNotNull(outer);
		//@formatter:off
		assertEquals("/outer\n" + 
			"pack()\n" + 
			"Structure outer {\n" + 
			"   0   byte   1      \"\"\n" + 
			"   1   -BAD-   4      \"Failed to apply 'inner'\"\n" + 
			"}\n" + 
			"Length: 5 Alignment: 1\n", outer.toString());
		//@formatter:on
	}
Data type merge tests with fixup for data types added in My program.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/datatypes/DataTypeMergeFixupTest.java