@Test
	public void testChooseNewPackedOverExistingNonPackedWhenAllElseIsEqualForNonEmptyStructures() {
		// NonPacked exists first.
		StructureDataType struct1NonPacked = createPopulated(dataMgr);
		Composite struct1PackedToAdd = (Composite) struct1NonPacked.copy(dataMgr);
		struct1PackedToAdd.setPackingEnabled(true);

		String struct1NonPackedString = struct1NonPacked.toString();
		String struct1PackedToAddString = struct1PackedToAdd.toString();

		Structure struct1AddResult = (Structure) dataMgr.addDataType(struct1PackedToAdd,
			DataTypeConflictHandler.REPLACE_EMPTY_STRUCTS_OR_RENAME_AND_ADD_HANDLER);
		String struct1AddResultString = struct1AddResult.toString();
		assertEquals(struct1PackedToAddString, struct1AddResultString);
		assertNotEquals(struct1NonPackedString, struct1AddResultString);
	}
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