public void Setup() { _databaseSetup = new DatabaseSetup(); _databaseSetup.CleanDatabase(); _databaseSetup.CreateStandardDatabase(); _timeEntryService = new TimeEntryService(_databaseSetup.GetTrexConnection); }
public void Setup() { _databaseSetup = new DatabaseSetup(); _databaseSetup.CleanDatabase(); _databaseSetup.CreateStandardDatabase(); _cigr = new CustomerInvoiceGroupRepository(_databaseSetup.GetTrexConnection); }
public void Setup() { _databaseSetup = new DatabaseSetup(); _databaseSetup.CleanDatabase(); _databaseSetup.CreateStandardDatabase(); _projectService = new ProjectService(_databaseSetup.GetTrexConnection); }
public void Setup() { _databaseSetup = new DatabaseSetup(); _databaseSetup.CleanDatabase(); _databaseSetup.CreateStandardDatabase(); _customerServices = new CustomerServices(_databaseSetup.GetTrexConnection); }
public void Setup() { _databaseSetup = new DatabaseSetup(); _databaseSetup.CleanDatabase(); _databaseSetup.CreateStandardDatabase(); _invoiceTemplate = new InvoiceTemplate(); _templateService = new TemplateService(_databaseSetup.GetTrexConnection); }
public void Initialize() { _databaseSetup = new DatabaseSetup(); _databaseSetup.CleanDatabase(); _databaseSetup.CreateStandardDatabase(); _invoiceServiceMock = new InvoiceService(_databaseSetup.GetTrexConnection); _gather = new GatherData(_invoiceServiceMock, _databaseSetup.GetTrexConnection); }
public void Setup() { _databaseSetup = new DatabaseSetup(); _databaseSetup.CleanDatabase(); _databaseSetup.CreateStandardDatabase(); _cigr = new CustomerInvoiceGroupRepository(_databaseSetup.GetTrexConnection); _customer = _databaseSetup.CreateCustomer(2, "testCustomer", "*****@*****.**", "CustomerContact", "TestCustomerVej", "TestCustomerCity", "TestCustomerLand", "7777"); _databaseSetup.CreateCustomerInvoiceGroup(2, 2, "TestCig", false, 1, "TestCigMail", "TestCigMailCC", "TestCigAttention", "TestCigvej1", "TestCigVej2", "TestCigCity", "TestCigLand", "8888"); _databaseSetup.CreateCustomerInvoiceGroup(3, 2, "TestCig2", false, 1, null, null, null, null, null, null, null, null); }
public void Setup() { _databaseSetup = new DatabaseSetup(); _databaseSetup.CleanDatabase(); _databaseSetup.CreateStandardDatabase(); _cigr = new CustomerInvoiceGroupRepository(_databaseSetup.GetTrexConnection); _customer = new Customer { City = "TestCity", StreetAddress = "TestVej", Address2 = "TestVej2", ContactName = "Lls", ZipCode = "8210", Country = "TestLand", SendFormat = 2, Email = "*****@*****.**", EmailCC = "*****@*****.**", CustomerID = 1 }; }