@Test
	public void testDnDFragInView2FolderInView() throws Exception {
		// drag a fragment that is in the view to an expanded folder that
		// is not in the view
		// verify that the fragment has the "in view" icon
		// verify that the view contains the moved fragment

		ProgramNode dataNode = root.getChild(".data");
		ProgramNode debugNode = root.getChild(".debug_data");
		AddressSet set = new AddressSet(debugNode.getFragment());

		setViewPaths(dataNode, debugNode);

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

		// drag .debug_data to Subroutines
		dragNodes_Move(subrNode, Arrays.asList(debugNode));

		assertTrue(plugin.getView().contains(set));
		expandNode(subrNode);
		ProgramNode n = subrNode.getChild(".debug_data");

		int row = getRowForPath(n.getTreePath());

		waitForSwing();

		Component comp = getCellRendererComponentForLeaf(n, row);
		assertEquals(new GIcon(DnDTreeCellRenderer.VIEWED_FRAGMENT), ((JLabel) comp).getIcon());
	}
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