@Test
	public void testDragMoveToDataType_SameParent() throws Exception {
		// drag/drop a data type onto another data type
		CategoryNode miscNode = (CategoryNode) programNode.getChild("MISC");
		expandNode(miscNode);

		DataTypeNode structureNode = (DataTypeNode) miscNode.getChild("ArrayStruct");
		DataTypeNode unionNode = (DataTypeNode) miscNode.getChild("ArrayUnion");

		setErrorsExpected(true);
		moveDragNodeToNode(unionNode, structureNode);
		setErrorsExpected(false);

		// can't move a data type into its same category
		waitForWindow("Encountered Errors Copying/Moving");
	}
Tests copy/paste/drag/drop operations
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/DataTypeCopyMoveDragTest.java