    @Test
    public void uninstallAddon() throws Exception {

        File sampleExtensionZipFile = buildSampleExtension();
        AddonInstallRequest installRequest = AddonInstallRequest.fromFile(sampleExtensionZipFile, AddonPersistence.TEMPORARY);
        BehaviorVerifier<Void> verifier = (driver, baseUri) -> {
            AddonUninstallRequest uninstallRequest = AddonUninstallRequest.fromId(SAMPLE_EXTENSION_ID);
            driver.uninstallAddon(uninstallRequest);
            driver.get(baseUri.toString());
            try {
                new WebDriverWait(driver, 3).until(ExpectedConditions.presenceOfElementLocated(By.id("injected")));
                fail("extension still installed it seems");
            } catch (org.openqa.selenium.TimeoutException ignore) {
                // we expect NOT to find the element
            }
            return (Void) null;
        };
        testInstallAddon(installRequest, verifier);
    }