@Test
	public void testDnDCopyFolderExpanded() throws Exception {
		// drag/copy an expanded folder to another expanded folder.
		// The dropped folder should  retain its expansion state.

		ProgramNode stringsNode = root.getChild("Strings");
		visitNode(stringsNode);
		ProgramNode lnode = stringsNode.getChild("L");
		expandPath(lnode.getTreePath());

		// Strings, L are expanded

		// select Strings
		setSelectionPath(stringsNode);

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

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

		// Strings, L should be expanded

		ProgramNode sNode = funcNode.getChild("Strings");
		assertTrue(tree.isExpanded(sNode.getTreePath()));
		lnode = sNode.getChild("L");
		assertTrue(tree.isExpanded(lnode.getTreePath()));
	}
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