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

			EnumDataType e = new EnumDataType(subc.getCategoryPath(), "Enum", 2);

			DataType resolvedEnum = dtm.resolve(e,
				DataTypeConflictHandler.REPLACE_EMPTY_STRUCTS_OR_RENAME_AND_ADD_HANDLER);
			assertTrue(e.isEquivalent(resolvedEnum));
			assertEquals("/subc/Enum", resolvedEnum.getPathName());

			e.add("xyz", 1);

			resolvedEnum = dtm.resolve(e,
				DataTypeConflictHandler.REPLACE_EMPTY_STRUCTS_OR_RENAME_AND_ADD_HANDLER);
			assertTrue(e.isEquivalent(resolvedEnum));
			assertEquals("/subc/Enum.conflict", resolvedEnum.getPathName());
		}
		finally {
			dtm.endTransaction(id, true);
			dtm.close();
		}
	}
Tests the
{@link DataTypeConflictHandler#REPLACE_EMPTY_STRUCTS_OR_RENAME_AND_ADD_HANDLER}
conflict handler to be sure that, if all else is the same, the packed version is chosen
over the non-packed version.
<p>
Success is the packed version is chosen over the non-packed version.
Ghidra/Features/Base/src/test.slow/java/ghidra/program/database/data/ConflictHandlerTest.java