private ExtensionDetails assertExtensionInstalled(String name, String version) {
		Set<ExtensionDetails> extensions = ExtensionUtils.getInstalledExtensions();
		Optional<ExtensionDetails> match =
			extensions.stream().filter(e -> e.getName().equals(name)).findFirst();
		assertTrue("No extension installed named '" + name + "'", match.isPresent());
		ExtensionDetails extension = match.get();
		assertEquals(version, extension.getVersion());
		assertTrue(extension.isInstalled());
		return extension;
	}
Tests for the {@link ExtensionInstaller} class.
Ghidra/Framework/Project/src/test/java/ghidra/framework/project/extensions/ExtensionInstallerTest.java