@Test
	public void testDnDCopyFolderCollapsed() throws Exception {
		// drag/copy an expanded folder to a collapsed folder.
		// The dest folder should remain collapsed.
		ProgramNode stringsNode = root.getChild("Strings");
		visitNode(stringsNode);
		ProgramNode lnode = stringsNode.getChild("L");
		expandPath(lnode.getTreePath());

		// Strings, L are expanded

		// select Strings
		setSelectionPath(stringsNode);

		// paste at Functions
		ProgramNode funcNode = root.getChild("Functions");
		collapsePath(funcNode.getTreePath());
		setSelectionPath(funcNode);

		// drag/copy Strings to Functions
		dragNodes_Copy(funcNode, Arrays.asList(stringsNode));

		// Functions should remain collapsed
		assertTrue(tree.isCollapsed(funcNode.getTreePath()));
		ProgramNode sNode = funcNode.getChild("Strings");
		assertTrue(tree.isCollapsed(sNode.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