@Test
	public void testDnDCodeUnits2FragNotInView2() throws Exception {
		// drag all code units from a fragment to another fragment
		// verify that all code units are in the destination fragment
		// verify that the source fragment is removed from the program

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

		ProgramNode debugNode = root.getChild(".debug_data");

		ProgramFragment f = listing.getFragment("Main Tree", "sscanf");
		AddressSet set = new AddressSet(f);
		SelectionTransferData data =
			new SelectionTransferData(set, program.getDomainFile().getPathname());

		// drag code units for sscanf to debug node (not in the view)
		dropSelectionOnTree(debugNode, data);

		assertTrue(debugNode.getFragment().contains(set));
		assertNull(listing.getFragment("Main Tree", "sscanf"));
		expandNode(root);
		assertEquals(0, findNodes("sscanf").length);

		// verify that the view remains unaffected
		assertTrue(plugin.getView().hasSameAddresses(dataNode.getFragment()));

	}
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