public CompanyServiceTests() { var context = TestEntityFactory.SetupContext(); var entityFactory = TestEntityFactory.SetupEntityFactory(context); _service = new CompanyService(entityFactory); }
public CustomerListServiceTests() { var context = TestEntityFactory.SetupContext(); var entityFactory = TestEntityFactory.SetupEntityFactory(context); _service = new CustomerListService(entityFactory); }
public NPSReportingServiceTests() { var context = TestEntityFactory.SetupContext(); var entityFactory = TestEntityFactory.SetupEntityFactory(context); _service = new NPSReportingService(entityFactory); }
public CustomerCreationServiceTests() { _context = TestEntityFactory.SetupContext(); var entityFactory = TestEntityFactory.SetupEntityFactory(_context); _validationProvider = new Mock <IValidationProvider>(); _service = new CustomerCreationService(entityFactory, _validationProvider.Object); }
public VehicleServiceTests() { var context = TestEntityFactory.SetupContext(); _vehicleService = new VehicleService(new VehicleRepository(context), new UnitOfWork(context)); }
public RepositoryTests() { _context = TestEntityFactory.SetupContext(); }
public ContextTests() { _context = TestEntityFactory.SetupContext(); }