101 references to MockHelpers
Microsoft.AspNetCore.Identity.Test (101)
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 (8)
22
var userManager =
MockHelpers
.MockUserManager<PocoUser>().Object;
42
var roleManager =
MockHelpers
.MockRoleManager<PocoRole>();
72
var roleManager =
MockHelpers
.MockRoleManager<PocoRole>();
92
var manager =
MockHelpers
.MockUserManager<PocoUser>();
104
var roleManager =
MockHelpers
.MockRoleManager<PocoRole>();
816
var manager =
MockHelpers
.TestUserManager<PocoUser>();
860
var manager =
MockHelpers
.MockUserManager<PocoUser>();
1283
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 (60)
66
var normalizer =
MockHelpers
.MockLookupNormalizer();
72
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
91
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
105
var normalizer =
MockHelpers
.MockLookupNormalizer();
113
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
130
var userManager =
MockHelpers
.TestUserManager(store.Object);
144
var normalizer =
MockHelpers
.MockLookupNormalizer();
150
var userManager =
MockHelpers
.TestUserManager(store.Object);
164
var normalizer =
MockHelpers
.MockLookupNormalizer();
172
var userManager =
MockHelpers
.TestUserManager(store.Object);
186
var normalizer =
MockHelpers
.MockLookupNormalizer();
193
var userManager =
MockHelpers
.TestUserManager(store.Object);
210
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
224
var normalizer =
MockHelpers
.MockLookupNormalizer();
228
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
245
var userManager =
MockHelpers
.TestUserManager(store.Object);
260
var normalizer =
MockHelpers
.MockLookupNormalizer();
264
var userManager =
MockHelpers
.TestUserManager(store.Object);
281
var userManager =
MockHelpers
.TestUserManager(store.Object);
305
var userManager =
MockHelpers
.TestUserManager(store.Object);
323
var userManager =
MockHelpers
.TestUserManager(store.Object);
338
var normalizer =
MockHelpers
.MockLookupNormalizer();
362
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
400
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
416
var normalizer =
MockHelpers
.MockLookupNormalizer();
426
var userManager =
MockHelpers
.TestUserManager(store.Object);
440
var normalizer =
MockHelpers
.MockLookupNormalizer();
463
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
477
var normalizer =
MockHelpers
.MockLookupNormalizer();
490
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
511
var userManager =
MockHelpers
.TestUserManager(store.Object);
532
var userManager =
MockHelpers
.TestUserManager(store.Object);
554
var userManager =
MockHelpers
.TestUserManager(store.Object);
583
var userManager =
MockHelpers
.TestUserManager(store.Object);
600
var manager =
MockHelpers
.TestUserManager(store.Object);
617
var manager =
MockHelpers
.TestUserManager(store.Object);
640
var userManager =
MockHelpers
.TestUserManager(store.Object);
661
var userManager =
MockHelpers
.TestUserManager<PocoUser>(store.Object);
674
var manager =
MockHelpers
.TestUserManager(new EmptyStore());
681
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
689
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
701
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
711
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
722
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
737
var manager =
MockHelpers
.TestUserManager(store.Object);
750
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
761
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
904
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
914
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
927
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
941
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
952
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
962
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
977
var manager =
MockHelpers
.TestUserManager(new NoopUserStore());
985
var manager =
MockHelpers
.TestUserManager(new EmptyStore());
995
var manager =
MockHelpers
.TestUserManager(new EmptyStore());
1010
var manager =
MockHelpers
.TestUserManager(store.Object);
1021
var manager =
MockHelpers
.TestUserManager(new NotImplementedStore());
1048
var manager =
MockHelpers
.TestUserManager(new EmptyStore());
1149
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());