### Question:
RequireJsConfigManager { public void destroy() { this.invalidateCachedConfigurations(); }  void setPackageConfigurationsTracker( RequireJsPackageServiceTracker packageConfigurationsTracker ); void setExternalResourcesScriptsTracker( RequireJsBundleListener externalResourcesScriptsTracker ); void setPlugins( List<IRequireJsPackageConfigurationPlugin> plugins ); void destroy(); String getRequireJsConfig( String baseUrl ); String getContextMapping( String baseUrl, String referer ); void invalidateCachedConfigurations();  }### Answer:
@Test public void testDestroy() { RequireJsConfigManager spyed = spy( this.requireJsConfigManager ); spyed.destroy(); verify( spyed, times( 1 ) ).invalidateCachedConfigurations(); }