public static IHttpContextAccessorMock Create()
        {
            IHttpContextAccessorMock httpContextAccessorMock = new IHttpContextAccessorMock();

            return(httpContextAccessorMock);
        }
Exemple #2
0
 public SignInManagerMock(MockBehavior mockBehavior = MockBehavior.Strict)
     : base(mockBehavior, UserManagerMock.Create().Object, IHttpContextAccessorMock.Create().Object, new Mock <IUserClaimsPrincipalFactory <AppUserEntity> >().Object, null, null, null, null)
 {
 }