private void navigateToFunction(FunctionTagProvider provider) {
		FunctionIterator iter = program.getFunctionManager().getFunctions(true);
		while (iter.hasNext()) {
			Function func = iter.next();
			Address addr = func.getEntryPoint();
			ProgramLocation loc = new ProgramLocation(program, addr);
			provider.locationChanged(loc);

			// We only need to find one function, so exit after we've got one.
			return;
		}
	}
Simulates a location change on the listing so the dialog thinks the user has
navigated to a function.

@param provider the component provider
Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/FunctionTagPluginScreenShots.java