@Test
	public void testInstallExtensionFromZipArchive_NullVersion() throws Exception {

		File zipFile = createExtensionZip(TEST_EXT_NAME, null);
		ExtensionDetails extension = new TestExtensionDetails(TEST_EXT_NAME);
		extension.setVersion(null);
		extension.setArchivePath(zipFile.getAbsolutePath());

		AtomicBoolean didInstall = new AtomicBoolean();
		runSwingLater(() -> {
			didInstall.set(ExtensionInstaller.installExtensionFromArchive(extension));
		});

		DialogComponentProvider confirmDialog =
			waitForDialogComponent("Extension Version Mismatch");
		pressButtonByText(confirmDialog, "Cancel");

		assertFalse(didInstall.get());
	}
Tests for the {@link ExtensionInstaller} class.
Ghidra/Framework/Project/src/test/java/ghidra/framework/project/extensions/ExtensionInstallerTest.java