public static void ResetStateAndInitMsal()
 {
     ModuleInitializer.ForceModuleInitializationTestOnly();
     ResetState();
     new AadInstanceDiscovery(null, null, true);
     new ValidatedAuthoritiesCache(true);
 }
        private void TestInitialize(MockHttpManager httpManager)
        {
            ModuleInitializer.ForceModuleInitializationTestOnly();

            new AadInstanceDiscovery(null, null, true);
            new ValidatedAuthoritiesCache(true);

            httpManager.AddMockHandler(
                MockHelpers.CreateInstanceDiscoveryMockHandler(
                    MsalTestConstants.GetDiscoveryEndpoint(MsalTestConstants.AuthorityCommonTenant)));
        }