private Program buildProgram() throws Exception {
		ToyProgramBuilder builder = new ToyProgramBuilder("Test", true, this);
		builder.createMemory(".text", "0x1001000", 0x40);

		f1 = builder.createFunction("0x1001000");
		f2 = builder.createFunction("0x1001020");

		return builder.getProgram();
	}
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