@Test
	public void testDnDCopyCollapsedFolder() throws Exception {
		// drag/copy a collapsed folder to an expanded folder.
		// The dropped folder should be collapsed.

		ProgramNode stringsNode = root.getChild("Strings");
		visitNode(stringsNode);
		collapsePath(stringsNode.getTreePath());

		// select Strings
		setSelectionPath(stringsNode);

		// drag/copy Strings to Functions
		ProgramNode funcNode = root.getChild("Functions");
		expandPath(funcNode.getTreePath());
		setSelectionPath(funcNode);

		dragNodes_Copy(funcNode, Arrays.asList(stringsNode));

		ProgramNode snode = funcNode.getChild("Strings");
		assertTrue(tree.isCollapsed(snode.getTreePath()));
		assertNotNull(root.getChild("Strings"));

	}
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