@Test
	public void testCleanupUninstalledExtions_WithExtensionMarkedForUninstall() throws Exception {

		File externalFolder = createExternalExtensionInFolder();
		assertTrue(ExtensionInstaller.install(externalFolder));

		ExtensionDetails extension = assertExtensionInstalled(TEST_EXT_NAME);

		extension.markForUninstall();
		checkMarkForUninstall(extension);
		assertFalse(extension.isInstalled());

		// Also test that we can clear the uninstall marker
		ExtensionUtils.initializeExtensions();
		checkCleanInstall();
	}
Tests for the {@link ExtensionInstaller} class.
Ghidra/Framework/Project/src/test/java/ghidra/framework/project/extensions/ExtensionInstallerTest.java