private void applyAdditions(ArrayList<Long> myList) throws CancelledException {

		// add new trees
		for (Long element : myList) {
			if (currentMonitor.isCancelled()) {
				throw new CancelledException();
			}
			currentMonitor.setProgress(++progressIndex);
			long treeID = element.longValue();
			ProgramModule sourceRoot = myListing.getRootModule(treeID);
			if (sourceRoot != null) {
				createTree(resultListing, getUniqueTreeName(sourceRoot.getTreeName()), sourceRoot);
			}
		}

	}
For JUnit testing only, set the option for resolving a conflict.
@param option
Ghidra/Features/Base/src/main/java/ghidra/app/merge/tree/ProgramTreeMergeManager.java