@Test
	public void testDnDCopyFrag2FolderNotInView() throws Exception {
		// drag/copy a fragment in the view to another folder not
		/// in the view.
		// verify that the view is not affected.
		ProgramNode funcNode = root.getChild("Functions");
		// set the view to Functions
		setViewPaths(funcNode);

		ProgramNode child = funcNode.getChild("doStuff");
		setSelectionPath(child);

		ProgramNode subrNode = root.getChild("Subroutines");

		// drag/copy doStuff to Subroutines
		dragNodes_Copy(subrNode, Arrays.asList(funcNode));

		// verify the view is not affected
		assertTrue(plugin.getView().hasSameAddresses(funcNode.getModule().getAddressSet()));
		undo();
		ProgramNode fNode = root.getChild("Functions");
		assertTrue(plugin.getView().hasSameAddresses(fNode.getModule().getAddressSet()));
		redo();
		fNode = root.getChild("Functions");
		assertTrue(plugin.getView().hasSameAddresses(fNode.getModule().getAddressSet()));
	}
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