ProgramSelection getCurrentSelection() {
		if (currentSelection == null) {
			AddressFactory p1AddressFactory =
				(primaryProgram != null) ? primaryProgram.getAddressFactory() : null;
			currentSelection = new ProgramSelection(p1AddressFactory);
		}
		return currentSelection;
	}
Used for testing to force file selection dialog instance.
@param dialog project file selection dialog
Ghidra/Features/ProgramDiff/src/main/java/ghidra/app/plugin/core/diff/ProgramDiffPlugin.java