@Test
	public void testChooseNewNonPackedOverExistingPackedWhenAllElseIsEqualForEmptyStructures() {

		// Packed exists first.
		Structure empty2Packed = new StructureDataType(root, "empty2", 0, dataMgr);
		Composite empty2NonPackedToAdd = (Composite) empty2Packed.copy(dataMgr);
		// aligning only after making non-packed copy.
		empty2Packed.setPackingEnabled(true);

		String empty2PackedString = empty2Packed.toString();
		String empty2NonPackedToAddString = empty2NonPackedToAdd.toString();

		Structure empty2AddResult = (Structure) dataMgr.addDataType(empty2NonPackedToAdd,
			DataTypeConflictHandler.REPLACE_EMPTY_STRUCTS_OR_RENAME_AND_ADD_HANDLER);
		String empty2AddResultString = empty2AddResult.toString();
		assertEquals(empty2NonPackedToAddString, empty2AddResultString);
		assertNotEquals(empty2PackedString, empty2AddResultString);
	}
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 new non-packed version is
chosen over the existing non-packed version.
<p>
Success is the new non-packed version is chosen over the existing packed version.
Ghidra/Features/Base/src/test.slow/java/ghidra/program/database/data/ConflictHandlerTest.java