public ScreeningBasicsTests() { var mockMapper = new MapperConfiguration(cfg => cfg.AddProfile(new MappingProfile())); _mapper = mockMapper.CreateMapper(); screeningLogic = new ScreeningLogic(new ScreeningContextMock(), _mapper); }
public ScreeningIntegrationTests() { var mockMapper = new MapperConfiguration(cfg => cfg.AddProfile(new MappingProfile())); _mapper = mockMapper.CreateMapper(); screeningLogic = new ScreeningLogic(new ScreeningRepository(new DatabaseScreening(new DatabaseConnection("Server = mssql.fhict.local; Database = dbi409997; User Id = dbi409997; Password = Ikbencool20042000!;"))), _mapper); }