@Test
	public void testDnDCodeUnits2FolderDup() throws Exception {
		// drag code units to a folder
		// verify that the name of the fragment that get created is the
		// same as the first address in the set
		// drag the first few code units to a folder
		// verify that the fragment is named "New Fragment"

		AddressSet set = new AddressSet();
		set.addRange(getAddr(0x01004000), getAddr(0x0100400a));
		SelectionTransferData data =
			new SelectionTransferData(set, program.getDomainFile().getPathname());

		dropSelectionOnTree(root, data);

		ProgramNode[] nodes = findNodes("01004000");
		assertEquals(1, nodes.length);

		set.clear();
		set.addRange(getAddr(0x01004000), getAddr(0x01004003));

		SelectionTransferData data2 =
			new SelectionTransferData(set, program.getDomainFile().getPathname());
		dropSelectionOnTree(root, data2);

		nodes = findNodes("New Fragment");
		assertEquals(1, nodes.length);
		assertTrue(set.hasSameAddresses(nodes[0].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