@Test
	public void testResolveWithCircularDependency() {

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

		Structure struct2 = new StructureDataType("s2", 0, dataMgr);
		struct2.setPackingEnabled(true);

		struct1.add(new PointerDataType(struct2));
		struct2.add(new PointerDataType(struct1));

		Structure struct1a = (Structure) dataMgr.resolve(struct1,
			DataTypeConflictHandler.REPLACE_EMPTY_STRUCTS_OR_RENAME_AND_ADD_HANDLER);

		Structure struct1b = (Structure) dataMgr.resolve(struct1,
			DataTypeConflictHandler.REPLACE_EMPTY_STRUCTS_OR_RENAME_AND_ADD_HANDLER);

		assertTrue(struct1a == struct1b);

		assertEquals(5, dataMgr.getDataTypeRecordCount());
	}
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