@Override
			public void modifyLatest(ProgramDB program) {
				try {
					Function func;

					func = getExternalFunction(program, new String[] { "user32.dll", "apples" });
					Parameter[] parameters = func.getParameters();
					parameters[0].setName("Foo", SourceType.USER_DEFINED);

					func = getExternalFunction(program, new String[] { "user32.dll", "oranges" });
					parameters = func.getParameters();
					parameters[1].setComment("This is a different test comment.");
				}
				catch (Exception e) {
					e.printStackTrace();
					Assert.fail(e.getMessage());
				}
			}
Remove a register parameter vs change the register on a register parameter.

@throws Exception
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/ExternalFunctionMergeManagerTest.java