private static <E extends Exception> void errorsExpected(ExceptionalCallback<E> c)
			throws Exception {
		try {
			setErrorsExpected(true);
			c.call();
		}
		finally {
			setErrorsExpected(false);
		}
	}
Tests for the {@link ExtensionInstaller} class.
Ghidra/Framework/Project/src/test/java/ghidra/framework/project/extensions/ExtensionInstallerTest.java