@Test
	public void testDedupeConflicts() {

		Structure struct1a = new StructureDataType("s1", 0, dataMgr);
		struct1a.setPackingEnabled(true);

		struct1a.add(ByteDataType.dataType);
		Structure s1 = (Structure) dataMgr.resolve(struct1a, null);

		struct1a.add(ByteDataType.dataType);
		Structure s2 = (Structure) dataMgr.resolve(struct1a, null);

		struct1a.add(ByteDataType.dataType);
		Structure s3 = (Structure) dataMgr.resolve(struct1a, null);

		// force two of the conflicts to become equivalent
		s1.deleteAll();
		// leave s2 unchanged
		s3.deleteAll();

		ArrayList<DataType> list = new ArrayList<>();
		dataMgr.findDataTypes("s1", list);
		assertEquals(3, list.size());

		dataMgr.dedupeConflicts(s3);
		assertTrue(s3.isDeleted());

		list.clear();
		dataMgr.findDataTypes("s1", list);
		assertEquals(2, list.size());
	}
Tests the
{@link DataTypeConflictHandler#REPLACE_EMPTY_STRUCTS_OR_RENAME_AND_ADD_HANDLER}
conflict handler to be sure that and empty local structure will be replaced by
a structure with source.
<p>
Success is the source version is chosen over the empty local version.
Ghidra/Features/Base/src/test.slow/java/ghidra/program/database/data/ConflictHandlerTest.java