@Test
	public void testDnDFolder2Folder() throws Exception {
		// drag a folder onto another folder that does not contain the folder
		// verify that the folder's parent is updated
		// verify that the old parent does not contain the dragged folder

		ProgramNode funcNode = root.getChild("Functions");
		ProgramNode extNode = root.getChild("Not Real Blocks");

		// drag functions to external references
		setSelectionPath(extNode);

		dragNodes_Move(extNode, Arrays.asList(funcNode));

		ProgramNode[] nodes = findNodes("Functions");
		for (ProgramNode element : nodes) {
			assertTrue(element.getParent() != root);
		}
		boolean found = false;
		for (ProgramNode element : nodes) {
			if (element.getParent() == extNode) {
				found = true;
				break;
			}
		}

		assertTrue("Did not find new parent of Functions", found);
	}
Tests for drag/drop/reorder for copy and move in the program tree.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/programtree/ProgramTreePlugin3Test.java