private OutputDayFactory Build() { var dbContext = TypiconDbContextFactory.Create(); var query = DataQueryProcessorFactory.Create(dbContext); var serializerRoot = TestRuleSerializer.Create(dbContext); var settingsFactory = new RuleHandlerSettingsFactory(serializerRoot); var dataCalculator = new ExplicitDataCalculator(query, new AsAdditionDataCalculator(query, new TransparentDataCalculator(query, new MajorDataCalculator(query, settingsFactory) , settingsFactory) , settingsFactory) , settingsFactory); return(new OutputDayFactory(dataCalculator , new ScheduleDayNameComposer(query) , serializerRoot.TypiconSerializer , new ServiceSequenceHandler())); }
public SignQueryHandlerTest() { processor = DataQueryProcessorFactory.Create(); }
protected QueryTestBase() { Processor = DataQueryProcessorFactory.Create(); }