testSafeLoadAndVerify() {
    const testUrl = TrustedResourceUrl.fromConstant(
        Const.from('testdata/jsloader_test2.js'));
    /** @suppress {checkTypes} suppression added to enable type checking */
    const result = jsloader.safeLoadAndVerify(testUrl, 'test2');

    return result.then((verifyObj) => {
      // Check that the verification object has passed ok.
      assertEquals('verification object', 'Test #2 loaded', verifyObj);
    });
  }
@suppress {visibility,strictMissingProperties} suppression
added to enable type checking