public static ProgramDB createDefaultProgram(String name, String languageString,
			String compilerSpecID, Object consumer) throws Exception {
		if (consumer == null) {
			throw new IllegalArgumentException("null consumer not permitted");
		}
		ProgramBuilder builder = new ProgramBuilder(name, languageString, compilerSpecID, consumer);
		ProgramDB p = builder.getProgram();
		return p;
	}
Creates an in-memory program with the given language

@param name the program name
@param languageString a language string of the format <code>x86:LE:32:default</code>
@param compilerSpecID the ID
@param consumer a consumer for the program
@return a new program
@throws Exception if there is any issue creating the language
Ghidra/Features/Base/src/main/java/ghidra/test/AbstractGhidraHeadlessIntegrationTest.java