@Test
	public void testResolveDataTypeStructConflict() throws Exception {
		DataTypeManager dtm = new StandAloneDataTypeManager("Test");
		int id = dtm.startTransaction("");
		Category otherRoot = dataMgr.getRootCategory();
		Category subc = otherRoot.createCategory("subc");

		Structure struct = new StructureDataType(subc.getCategoryPath(), "struct1", 10);

		DataType resolvedStruct = dtm.resolve(struct, DWARFDataTypeConflictHandler.INSTANCE);
		assertTrue(struct.isEquivalent(resolvedStruct));
		assertEquals("/subc/struct1", resolvedStruct.getPathName());

		struct.replace(0, dtm.resolve(new PointerDataType(resolvedStruct, 4, dtm),
			DWARFDataTypeConflictHandler.INSTANCE), 4);

		// NOTE: placing a DB dataType in an Impl datatype results in an invalid
		// Impl type if one of its children refer to a deleted datatype.  The
		// 'struct' instance is such a case.

		DataType resolvedStructA = dtm.resolve(struct, DWARFDataTypeConflictHandler.INSTANCE);

		// Update struct with the expected result (old empty struct was replaced)
		struct.replace(0, new PointerDataType(resolvedStructA, 4, dtm), 4);

		assertTrue(struct.isEquivalent(resolvedStructA));
		assertEquals("/subc/struct1", resolvedStructA.getPathName());

		dtm.endTransaction(id, true);
		dtm.close();
	}
Tests the {@link DWARFDataTypeConflictHandler#INSTANCE}
conflict handler when adding a typedef to a populated when there is already a typedef
to a stub structure.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/util/bin/format/dwarf/DWARFConflictHandlerTest.java