public GenerationReport(InputGenerationReport input)
 {
     _config = new ConfigurationBuilder().AddJsonFile("specflow.json").Build();
     _xmlDataSourceProcessor = new XmlDataSourceProcessor();
     _input                     = input;
     _generationOutput          = new GenerationOutput();
     _referenceData             = new ReferenceData();
     _calculatedTotalValue      = new Totals();
     _energyCalculator          = new EnergyCalculator();
     _maxEmissionGeneratorsDays = new List <DTOs.OutputGeneration.Day>();
     _heatRates                 = new List <ActualHeatRates>();
     _generationOutput          = _xmlDataSourceProcessor.GetGenerationOutput();
 }
 public void WhenIReadTheFileFromInputFolder()
 {
     _input         = _xmlDataSourceProcessor.GetGenerationReport();
     _referenceData = _xmlDataSourceProcessor.GetReferenceData();
 }