public static Language getSLEIGH_X86_LANGUAGE() {
		if (SLEIGH_X86_LANGUAGE == null) {
			try {
				SLEIGH_X86_LANGUAGE =
					getLanguageService().getDefaultLanguage(TestProcessorConstants.PROCESSOR_X86);
			}
			catch (LanguageNotFoundException e) {
				// don't care
			}
		}
		return SLEIGH_X86_LANGUAGE;
	}
Get language service used for testing.

@return language service.
Ghidra/Features/Base/src/main/java/ghidra/test/AbstractGhidraHeadlessIntegrationTest.java