public static void Init(TestContext testContext) { var passwordHash = new PasswordHashMock(); var dbContext = new DbContextMock(); _registrationService = new RegistrationService(new UserSystemService(passwordHash, dbContext)); }
public static void Init(TestContext testContext) { var passwordHash = new PasswordHashMock(); var dbContext = new DbContextMock(); _sessionTokenMock = new SessionTokenGenerateMock(); _authorizationService = new AuthorizationService(dbContext, passwordHash, _sessionTokenMock); }
public static void Init(TestContext testContext) { var passwordHash = new PasswordHashMock(); var dbContext = new DbContextMock(); _sessionTokenMock = new SessionTokenGenerateMock(); _userSystemService = new UserSystemService(passwordHash, dbContext); }