109 references to MockHelpers
Microsoft.AspNetCore.Identity.Test (109)
Passkeys\PasskeyHandlerAssertionTest.cs (1)
1027
var userManager =
MockHelpers
.MockUserManager<PocoUser>();
Passkeys\PasskeyHandlerAttestationTest.cs (1)
1007
var userManager =
MockHelpers
.MockUserManager<PocoUser>();
PasswordValidatorTest.cs (7)
38
var manager =
MockHelpers
.TestUserManager<PocoUser>();
52
var manager =
MockHelpers
.TestUserManager<PocoUser>();
66
var manager =
MockHelpers
.TestUserManager<PocoUser>();
83
var manager =
MockHelpers
.TestUserManager<PocoUser>();
99
var manager =
MockHelpers
.TestUserManager<PocoUser>();
120
var manager =
MockHelpers
.TestUserManager<PocoUser>();
145
var manager =
MockHelpers
.TestUserManager<PocoUser>();
RoleManagerTest.cs (10)
14
var normalizer =
MockHelpers
.MockLookupNormalizer();
20
var roleManager =
MockHelpers
.TestRoleManager(store.Object);
34
var normalizer =
MockHelpers
.MockLookupNormalizer();
40
var roleManager =
MockHelpers
.TestRoleManager(store.Object);
62
var normalizer =
MockHelpers
.MockLookupNormalizer();
66
var manager =
MockHelpers
.TestRoleManager(store.Object);
83
var manager =
MockHelpers
.TestRoleManager(store.Object);
98
var normalizer =
MockHelpers
.MockLookupNormalizer();
102
var manager =
MockHelpers
.TestRoleManager(store.Object);
148
return
MockHelpers
.TestRoleManager(roleStore);
RoleValidatorTest.cs (2)
13
var manager =
MockHelpers
.TestRoleManager<PocoRole>();
28
var manager =
MockHelpers
.TestRoleManager<PocoRole>();
SecurityStampValidatorTest.cs (6)
97
var userManager =
MockHelpers
.MockUserManager<PocoUser>();
159
var userManager =
MockHelpers
.MockUserManager<PocoUser>();
201
var userManager =
MockHelpers
.MockUserManager<PocoUser>();
240
var userManager =
MockHelpers
.MockUserManager<PocoUser>();
277
var userManager =
MockHelpers
.MockUserManager<PocoUser>();
324
var userManager =
MockHelpers
.MockUserManager<PocoUser>();
SignInManagerTest.cs (9)
29
var userManager =
MockHelpers
.MockUserManager<PocoUser>().Object;
53
var roleManager =
MockHelpers
.MockRoleManager<PocoRole>();
97
var roleManager =
MockHelpers
.MockRoleManager<PocoRole>();
127
var manager =
MockHelpers
.MockUserManager<PocoUser>(meterFactory, passkeyHandler);
144
var roleManager =
MockHelpers
.MockRoleManager<PocoRole>();
1157
var manager =
MockHelpers
.TestUserManager<PocoUser>(meterFactory: testMeterFactory);
1186
var manager =
MockHelpers
.TestUserManager<PocoUser>(meterFactory: testMeterFactory);
1247
var manager =
MockHelpers
.MockUserManager<PocoUser>();
1670
var roleManager =
MockHelpers
.MockRoleManager<PocoRole>();
UserClaimsPrincipalFactoryTest.cs (4)
15
var userManager =
MockHelpers
.MockUserManager<PocoUser>().Object;
16
var roleManager =
MockHelpers
.MockRoleManager<PocoRole>().Object;
43
var userManager =
MockHelpers
.MockUserManager<PocoUser>();
44
var roleManager =
MockHelpers
.MockRoleManager<PocoRole>();
UserManagerTest.cs (65)
69
var normalizer =
MockHelpers
.MockLookupNormalizer();
75
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
94
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
108
var normalizer =
MockHelpers
.MockLookupNormalizer();
116
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
136
var userManager =
MockHelpers
.TestUserManager(store.Object, meterFactory: testMeterFactory);
163
var userManager =
MockHelpers
.TestUserManager(store.Object, meterFactory: testMeterFactory);
185
var normalizer =
MockHelpers
.MockLookupNormalizer();
191
var userManager =
MockHelpers
.TestUserManager(store.Object);
205
var normalizer =
MockHelpers
.MockLookupNormalizer();
213
var userManager =
MockHelpers
.TestUserManager(store.Object);
227
var normalizer =
MockHelpers
.MockLookupNormalizer();
234
var userManager =
MockHelpers
.TestUserManager(store.Object);
251
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
265
var normalizer =
MockHelpers
.MockLookupNormalizer();
269
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
286
var userManager =
MockHelpers
.TestUserManager(store.Object);
301
var normalizer =
MockHelpers
.MockLookupNormalizer();
305
var userManager =
MockHelpers
.TestUserManager(store.Object);
322
var userManager =
MockHelpers
.TestUserManager(store.Object);
346
var userManager =
MockHelpers
.TestUserManager(store.Object);
364
var userManager =
MockHelpers
.TestUserManager(store.Object);
379
var normalizer =
MockHelpers
.MockLookupNormalizer();
403
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
441
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
457
var normalizer =
MockHelpers
.MockLookupNormalizer();
467
var userManager =
MockHelpers
.TestUserManager(store.Object);
481
var normalizer =
MockHelpers
.MockLookupNormalizer();
504
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
518
var normalizer =
MockHelpers
.MockLookupNormalizer();
531
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
552
var userManager =
MockHelpers
.TestUserManager(store.Object);
576
var userManager =
MockHelpers
.TestUserManager(store.Object, meterFactory: testMeterFactory);
608
var userManager =
MockHelpers
.TestUserManager(store.Object, meterFactory: testMeterFactory);
648
var userManager =
MockHelpers
.TestUserManager(store.Object, meterFactory: testMeterFactory);
680
var manager =
MockHelpers
.TestUserManager(store.Object, meterFactory: testMeterFactory);
707
var manager =
MockHelpers
.TestUserManager(store.Object, meterFactory: testMeterFactory);
740
var userManager =
MockHelpers
.TestUserManager(store.Object, meterFactory: testMeterFactory);
771
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object, meterFactory: testMeterFactory);
797
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
816
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
834
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
853
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
869
var manager =
MockHelpers
.TestUserManager(new EmptyStore(), meterFactory: testMeterFactory);
882
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
893
var manager =
MockHelpers
.TestUserManager(new NoopUserStore(), meterFactory: testMeterFactory);
920
var manager =
MockHelpers
.TestUserManager(new NoopUserStore(), meterFactory: testMeterFactory);
946
var manager =
MockHelpers
.TestUserManager(new NoopUserStore(), meterFactory: testMeterFactory);
975
var manager =
MockHelpers
.TestUserManager(new NoopUserStore(), meterFactory: testMeterFactory);
1021
var manager =
MockHelpers
.TestUserManager(store.Object, meterFactory: testMeterFactory);
1050
var manager =
MockHelpers
.TestUserManager(new NoopUserStore(), meterFactory: testMeterFactory);
1076
var manager =
MockHelpers
.TestUserManager(new NoopUserStore(), meterFactory: testMeterFactory);
1236
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
1246
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
1259
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
1273
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
1284
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
1294
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
1309
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
1317
var manager =
MockHelpers
.TestUserManager(new EmptyStore());
1327
var manager =
MockHelpers
.TestUserManager(new EmptyStore());
1342
var manager =
MockHelpers
.TestUserManager(store.Object);
1353
var manager =
MockHelpers
.TestUserManager(new NotImplementedStore());
1384
var manager =
MockHelpers
.TestUserManager(new EmptyStore());
1493
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
UserValidatorTest.cs (4)
12
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
27
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
49
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
76
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());