setUp() {
    /** @suppress {undefinedVars} suppression added to enable type checking */
    modA1Loaded = false;
    /** @suppress {undefinedVars} suppression added to enable type checking */
    modA2Loaded = false;
    /** @suppress {undefinedVars} suppression added to enable type checking */
    modB1Loaded = false;

    goog.provide = () => {};
    moduleManager = ModuleManager.getInstance();
    stubs.replace(moduleManager, 'getBackOff_', functions.constant(0));

    moduleLoader = new ModuleLoader();
    observer = new EventObserver();

    events.listen(moduleLoader, googObject.getValues(EventType), observer);

    moduleManager.setLoader(moduleLoader);
    moduleManager.setAllModuleInfo(
        {'modA': [], 'modB': ['modA'], 'errorMod': []});
    moduleManager.setModuleTrustedUris(
        {'modA': [modA1, modA2], 'modB': [modB1], 'errorMod': [errorMod]});

    assertNotLoaded('modA');
    assertNotLoaded('modB');
    assertNotLoaded('errorMod');
    assertFalse(modA1Loaded);
  }
@suppress {undefinedVars} suppression added to enable type
               checking