public UserAuthenticationServiceTest() { _userRepositoryMock = new Mock<IUserRepository>(); _formAuthenticationServiceMock = new Mock<IFormsAuthenticationService>(); _userAuthenticationServiceSUT = new UserAuthenticationService(_userRepositoryMock.Object, new FakeSessoinStateRepository(), _formAuthenticationServiceMock.Object); }
public UserAuthenticationServiceTest() { _userRepositoryMock = new Mock<IUserRepository>(); _formAuthenticationServiceMock = new Mock<IFormsAuthenticationService>(); _configurationRepository = new Mock<IConfigurationRepository>(); _avatar = new Mock<IAvatar>(); _userAuthenticationServiceSUT = new UserAuthenticationService(_userRepositoryMock.Object, new FakeSessoinStateRepository(), _formAuthenticationServiceMock.Object, _configurationRepository.Object, _avatar.Object); }