Пример #1
0
		public void TestInitialize()
		{
			_context = new DbTestContext(Settings.Default.MainConnectionString);
			_fixture = new Fixture();

			_repository = new SenderRepository(new PasswordConverter(), new SqlProcedureExecutor(Settings.Default.MainConnectionString));
		}
Пример #2
0
		public void TestInitialize()
		{
			_context = new DbTestContext(Settings.Default.FilesConnectionString);
			_fixture = new Fixture();

			_repository = new AwbFileRepository(new SqlProcedureExecutor(Settings.Default.FilesConnectionString));
		}
Пример #3
0
		public void TestInitialize()
		{
			_context = new DbTestContext(Settings.Default.MainConnectionString);
			_fixture = new Fixture();

			_repository = new ClientBalanceRepository(new SqlProcedureExecutor(Settings.Default.MainConnectionString));
		}
Пример #4
0
		public void TestInitialize()
		{
			_context = new DbTestContext(Settings.Default.MainConnectionString);
			_fixture = new Fixture();

			_calculation = new CalculationRepository(new SqlProcedureExecutor(Settings.Default.MainConnectionString));
		}
Пример #5
0
		public void TestInitialize()
		{
			_context = new DbTestContext(Settings.Default.MainConnectionString);
			_fixture = new Fixture();

			_messages = new EmailMessageRepository(new SqlProcedureExecutor(Settings.Default.MainConnectionString));
		}
Пример #6
0
		public void TestInitialize()
		{
			_context = new DbTestContext(Settings.Default.MainConnectionString);
			_serializer = new Serializer();
			_fixture = new Fixture();

			_events = new EventRepository(new SqlProcedureExecutor(Settings.Default.MainConnectionString));
		}
Пример #7
0
		public void TestInitialize()
		{
			_context = new DbTestContext(Settings.Default.MainConnectionString);
			_fixture = new Fixture();

			var executor = new SqlProcedureExecutor(Settings.Default.MainConnectionString);
			_recipients = new EventEmailRecipient(executor);
		}
Пример #8
0
		public void TestInitialize()
		{
			_context = new DbTestContext(Settings.Default.MainConnectionString);
			_fixture = new Fixture();

			var executor = new SqlProcedureExecutor(Settings.Default.MainConnectionString);
			_templates = new TemplateRepository(executor);
		}
Пример #9
0
		public void TestInitialize()
		{
			_context = new DbTestContext(Settings.Default.MainConnectionString);

			var executor = new SqlProcedureExecutor(Settings.Default.MainConnectionString);
			_settings = new StateSettingsRepository(executor);
			_states = new StateRepository(executor);
		}
Пример #10
0
		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);
		}
Пример #11
0
		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);
		}
Пример #12
0
		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);
		}
Пример #13
0
		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);
		}
Пример #14
0
		public void TestInitialize()
		{
			_context = new DbTestContext(Settings.Default.MainConnectionString);

			_repository = new BrokerRepository(_context.Connection);
		}
Пример #15
0
		public void TestInitialize()
		{
			_context = new DbTestContext(Settings.Default.MainConnectionString);
			_fixture = new Fixture();
			_repository = new AdminRepository(_context.Connection);
		}