public LoginTests() { _mocker = new MockerFactory(); authServiceMock = new Mock <IAuthService>(); userRepoMock = new Mock <IUserRepository>(); _sut = new AuthServiceProvider(authServiceMock.Object, _mocker.Mapper.Object, userRepoMock.Object); }
public LogoutTests() { _mocker = new MockerFactory(); authServiceMock = new Mock <IAuthService>(); userRepoMock = new Mock <IUserRepository>(); ctxMock = new Mock <IHttpContextAccessor>(); _sut = new AuthServiceProvider(authServiceMock.Object, _mocker.Mapper.Object, userRepoMock.Object); }