@Override
			public void modifyLatest(ProgramDB program) {
				try {
					// Set the external Mem Address
					ExternalLocation externalLocation =
						getExternalLocation(program, new String[] { "user32.dll", "apples" });

					try {
						externalLocation.setLocation(externalLocation.getLabel(),
							addr(program, "70db1234"), externalLocation.getSource());
					}
					catch (DuplicateNameException e) {
						Assert.fail();
					}
					catch (InvalidInputException e) {
						Assert.fail();
					}
				}
				catch (Exception e) {
					Assert.fail(e.getMessage());
				}
			}
Test the merge of external function variables.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/ExternalFunctionMergeManagerTest.java