private void assertFunctionsInFile(File file, Function... functions)
			throws Exception {

		List<Function> testFunctions = new ArrayList<>(List.of(f1, f2));

		List<TestJsonFunction> jsons = readFromJson(file);

		jsons.forEach(jsonFunction -> assertFunction(jsonFunction, testFunctions));
		assertThat("Not all program functions written to json file",
			testFunctions, is(empty()));
	}
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