public void TestInitialize() { _context = new DbTestContext(Settings.Default.MainConnectionString); _fixture = new Fixture(); _repository = new SenderRepository(new PasswordConverter(), new SqlProcedureExecutor(Settings.Default.MainConnectionString)); }
public void TestInitialize() { _context = new DbTestContext(Settings.Default.FilesConnectionString); _fixture = new Fixture(); _repository = new AwbFileRepository(new SqlProcedureExecutor(Settings.Default.FilesConnectionString)); }
public void TestInitialize() { _context = new DbTestContext(Settings.Default.MainConnectionString); _fixture = new Fixture(); _repository = new ClientBalanceRepository(new SqlProcedureExecutor(Settings.Default.MainConnectionString)); }
public void TestInitialize() { _context = new DbTestContext(Settings.Default.MainConnectionString); _fixture = new Fixture(); _calculation = new CalculationRepository(new SqlProcedureExecutor(Settings.Default.MainConnectionString)); }
public void TestInitialize() { _context = new DbTestContext(Settings.Default.MainConnectionString); _fixture = new Fixture(); _messages = new EmailMessageRepository(new SqlProcedureExecutor(Settings.Default.MainConnectionString)); }
public void TestInitialize() { _context = new DbTestContext(Settings.Default.MainConnectionString); _serializer = new Serializer(); _fixture = new Fixture(); _events = new EventRepository(new SqlProcedureExecutor(Settings.Default.MainConnectionString)); }
public void TestInitialize() { _context = new DbTestContext(Settings.Default.MainConnectionString); _fixture = new Fixture(); var executor = new SqlProcedureExecutor(Settings.Default.MainConnectionString); _recipients = new EventEmailRecipient(executor); }
public void TestInitialize() { _context = new DbTestContext(Settings.Default.MainConnectionString); _fixture = new Fixture(); var executor = new SqlProcedureExecutor(Settings.Default.MainConnectionString); _templates = new TemplateRepository(executor); }
public void TestInitialize() { _context = new DbTestContext(Settings.Default.MainConnectionString); var executor = new SqlProcedureExecutor(Settings.Default.MainConnectionString); _settings = new StateSettingsRepository(executor); _states = new StateRepository(executor); }
public void TestInitialize() { _context = new DbTestContext(Settings.Default.MainConnectionString); _fixture = new Fixture(); var executor = new SqlProcedureExecutor(Settings.Default.MainConnectionString); _userRepository = new UserRepository(new PasswordConverter(), executor); _clientRepository = new ClientRepository(executor); }
public void TestInitialize() { _context = new DbTestContext(Settings.Default.MainConnectionString); _fixture = new Fixture(); _serializer = new Serializer(); _builder = CompositionJobsHelper.GetApplicationMessageBuilder(_context.Connection, Settings.Default.MainConnectionString, Settings.Default.FilesConnectionString); }
public void TestInitialize() { _context = new DbTestContext(Settings.Default.MainConnectionString); _fixture = new Fixture(); _applications = new ApplicationRepository(_context.Connection); var executor = new SqlProcedureExecutor(Settings.Default.MainConnectionString); _stateRepository = new StateRepository(executor); _editor = new ApplicationEditor(_context.Connection, executor, TestConstants.DefaultStateId); }
public void TestInitialize() { _context = new DbTestContext(Settings.Default.MainConnectionString); _fixture = new Fixture(); _now = _fixture.Create<DateTimeOffset>(); _executor = new SqlProcedureExecutor(Settings.Default.MainConnectionString); DateTimeProvider.SetProvider(new DateTimeProviderStub(_now)); _awbs = new AwbRepository(_context.Connection); _applicationEditor = new ApplicationEditor(_context.Connection, _executor, TestConstants.DefaultStateId); }
public void TestInitialize() { _context = new DbTestContext(Settings.Default.MainConnectionString); _repository = new BrokerRepository(_context.Connection); }
public void TestInitialize() { _context = new DbTestContext(Settings.Default.MainConnectionString); _fixture = new Fixture(); _repository = new AdminRepository(_context.Connection); }