@Test
	public void testConflictRenameAndAdd() {
		int txId = program.startTransaction("Add Struct");

		Structure struct1 = createStruct("abc", new ByteDataType(), 10);
		Structure struct2 = createStruct("abc", new WordDataType(), 10);

		DataType resolvedStruct1 = dtm.resolve(struct1, null);
		DataType resolvedStruct2 = dtm.resolve(struct2, null);

		assertEquals("abc", struct1.getName());
		assertEquals("abc", struct2.getName());

		assertEquals("abc", resolvedStruct1.getName());
		assertEquals("abc.conflict", resolvedStruct2.getName());

		program.endTransaction(txId, true);

	}
Tests for manipulating data types in the category/data type tree.
Ghidra/Features/Base/src/test.slow/java/ghidra/program/model/data/DataTypeTest.java