public void RunTest() { RunningConfig rc = RunningConfig.MakeDefaults(); BusinessProfileOverrideRepository bpoe = new BusinessProfileOverrideRepository(rc); bpoe.GetEntry("blub", "blub", "blub").Should().BeNull(); bpoe.GetEntry("bla", "bla", "bla").Should().NotBeNull(); }
public BusinessProfileProvider([NotNull] ServiceRepository services, [NotNull] ScenarioSliceParameters slice, [NotNull] SLPProvider slpProvider, [NotNull] DBDto dbDto) : base(nameof(BusinessProfileProvider), services, slice) { _slpProvider = slpProvider; _dbDto = dbDto; DevelopmentStatus.Add("Make visualisations of the sum profile of each household"); DevelopmentStatus.Add("add the original isn of each business to the business entry"); DevelopmentStatus.Add("use the correct business isn"); DevelopmentStatus.Add("add the total energy checks back in"); DevelopmentStatus.Add("connect the business to the correct hausanschluss"); _repository = new BusinessProfileOverrideRepository(services.RunningConfig); }