public static LanguageCompilerSpecPair getLanguageCompilerSpecPair(String oldLanguageName)
			throws LanguageNotFoundException {
		LanguageCompilerSpecPair pair =
			OldLanguageMappingService.lookupMagicString(oldLanguageName, true);
		if (pair == null) {
			throw new LanguageNotFoundException("Old language not found: " + oldLanguageName);
		}
		return pair;
	}
Get the language and compiler spec associated with an old language name string. If the
language no longer exists, and suitable replacement language will be returned if found. If no
language is found, an exception will be thrown.

@param oldLanguageName old language name string
@return the language compiler and spec
@throws LanguageNotFoundException if the language is not found
Ghidra/Features/Base/src/main/java/ghidra/test/AbstractGhidraHeadlessIntegrationTest.java