@Test
	public void testDnDCodeUnits2FragInView() throws Exception {
		// drag code units to a another fragment in the view
		// verify that the code units are in the destination fragment
		// verify that the view is not affected

		ProgramNode dataNode = root.getChild(".data");
		ProgramNode debugNode = root.getChild(".debug_data");
		setViewPaths(dataNode, debugNode);

		AddressSet origSet = plugin.getView();
		AddressSet set = new AddressSet();
		set.addRange(getAddr(0x1001800L), getAddr(0x100180cL));
		SelectionTransferData data =
			new SelectionTransferData(set, program.getDomainFile().getPathname());

		dropSelectionOnTree(dataNode, data);

		assertTrue(dataNode.getFragment().contains(set));
		assertTrue(plugin.getView().hasSameAddresses(origSet));
	}
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