protected override void AddUserStore(IServiceCollection services, object context = null)
 {
     _store = new UserStoreWithGenerics((InMemoryContextWithGenerics)context, "TestContext");
     services.AddSingleton <IUserStore <IdentityUserWithGenerics> >(_store);
 }
 protected override void AddUserStore(IServiceCollection services, TestConnectionFactory context = null)
 {
     _store = new UserStoreWithGenerics(context ?? CreateTestContext(), "TestContext");
     services.AddSingleton <IUserStore <IdentityUserWithGenerics> >(_store);
 }