void changeExternalFunctionIntoExternalLabel(Program program, String[] path) {
		Function externalFunction = getExternalFunction(program, path);

		int txId = program.startTransaction("Changing external function into an external label.");
		boolean commit = false;
		try {
			Symbol externalSymbol = externalFunction.getSymbol();
			boolean delete = externalSymbol.delete();
			assertTrue(delete);
			commit = true;
		}
		catch (Exception e) {
			Assert.fail(e.getMessage());
		}
		finally {
			program.endTransaction(txId, commit);
		}

		ExternalLocation externalLocation = getExternalLocation(program, path);
		assertNotNull(externalLocation);
		assertFalse(externalLocation.isFunction());
	}
@param program
@param transactionDescription
@param library
@param label
@param addressAsString
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/AbstractExternalMergerTest.java