private void assertFunction(TestJsonFunction function, List<Function> testFunctions) {
		Function match = null;
		for (Function expected : testFunctions) {
			if (function.matches(expected)) {
				match = expected;
				break;
			}
		}

		assertNotNull("Unexpected function written to file", match);
		testFunctions.remove(match);
	}
Tests the {@code ExportFunctionInfoScript}, which writes Ghidra function object info in JSON
form for the entire program
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/script/ExportFunctionInfoScriptTest.java