예제 #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);
		}