internal void TestInitialize(MockHttpManager httpManager) { TestCommon.ResetStateAndInitMsal(); new AadInstanceDiscovery(null, null, true); new ValidatedAuthoritiesCache(true); httpManager.AddMockHandler( MockHelpers.CreateInstanceDiscoveryMockHandler( MsalTestConstants.GetDiscoveryEndpoint(MsalTestConstants.AuthorityCommonTenant))); }
public void TestInitialize() { TestCommon.ResetStateAndInitMsal(); _cache = new TokenCache(); }