// lazy singleton with arguments
 public static void Initialize(IConfigurationRoot appConfig)
 {
     if (instance == null)
     {
         instance = new AuthProvider(appConfig);
     }
     else
     {
         Console.WriteLine($"{typeof(AuthProvider)} has already been initialized.");
     }
 }
 public GraphManagerTests(GraphManagerFixture fixture)
 {
     authProvider = fixture.authProvider;
     graphManager = fixture.graphManager;
     Debug.WriteLine(graphManager.GetHashCode());
 }
 public GraphManagerFixture()
 {
     authProvider = new AuthProvider(AuthProvider.Authority.Organizations);
     graphManager = new GraphManager(authProvider);
     var _ = authProvider.GetAccessTokenWithUsernamePassword().Result;
 }
 public GraphApiCallTests(GraphManagerFixture fixture)
 {
     authProvider = fixture.authProvider;
 }