@Test
	public void testResolveArrayConflict() {

		DataType array1 = new ArrayDataType(
			new TypedefDataType("size_t", UnsignedIntegerDataType.dataType), 2, -1);
		DataType array2 =
			new ArrayDataType(new TypedefDataType("size_t", IntegerDataType.dataType), 2, -1);

		DataType array1resolved = dataMgr.resolve(array1, DataTypeConflictHandler.DEFAULT_HANDLER);
		assertEquals("size_t[2]", array1resolved.getName());

		DataType array2resolvedA = dataMgr.resolve(array2, DataTypeConflictHandler.KEEP_HANDLER);
		assertTrue(array2resolvedA == array1resolved);

		DataType array2resolvedB = dataMgr.resolve(array2, DataTypeConflictHandler.DEFAULT_HANDLER);
		assertEquals("size_t.conflict[2]", array2resolvedB.getName());

		DataType array2resolvedC = dataMgr.resolve(array2, DataTypeConflictHandler.REPLACE_HANDLER);
		assertTrue(array2resolvedC == array2resolvedB);
	}
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