public EventMarkdownBuilder( IMarkdownBuilderRepository markdownBuilderRepository, IEventGroupRepository eventGroupRepository, IRepresentationInfoRepository representationInfoRepository ) : base(markdownBuilderRepository) { _eventGroupRepository = eventGroupRepository; _representationInfoRepository = representationInfoRepository; }
protected override void Context() { _reportGenerator = A.Fake <IReportGenerator>(); _markdownReportBuilder = A.Fake <IMarkdownBuilderRepository>(); sut = new MarkdownReporterTask(_reportGenerator, _markdownReportBuilder); A.CallTo(() => _reportGenerator.StringReportFor((object)_compound)).Returns("COMP"); var individualMarkdownBuilder = A.Fake <IMarkdownBuilder>(); A.CallTo(() => _markdownReportBuilder.BuilderFor(_individual)).Returns(individualMarkdownBuilder); A.CallTo(() => _markdownReportBuilder.BuilderFor(_compound)).Returns(null); A.CallTo(() => individualMarkdownBuilder.Report(_individual, A <MarkdownTracker> ._, A <int> ._)).Invokes(x => { var markdownTracker = x.GetArgument <MarkdownTracker>(1); markdownTracker.Add("IND"); }); }
public MarkdownReporterTask(IReportGenerator reportGenerator, IMarkdownBuilderRepository markdownBuilderRepository) { _reportGenerator = reportGenerator; _markdownBuilderRepository = markdownBuilderRepository; }
public IndividualMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IReportGenerator reportGenerator) : base(markdownBuilderRepository, reportGenerator) { }
public FormulationMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IRepresentationInfoRepository representationInfoRepository) : base(markdownBuilderRepository) { _representationInfoRepository = representationInfoRepository; }
protected BuildingBlockMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository) { _markdownBuilderRepository = markdownBuilderRepository; }
public CompoundMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IParameterToParameterElementMapper parameterElementMapper) : base(markdownBuilderRepository) { _parameterElementMapper = parameterElementMapper; }
public SimulationMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IReportGenerator reportGenerator) : base(markdownBuilderRepository, reportGenerator) { }
protected DefaultBuildingBlockMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IReportGenerator reportGenerator) : base(markdownBuilderRepository) { _reportGenerator = reportGenerator; }
public ObserverSetMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IReportGenerator reportGenerator) : base(markdownBuilderRepository, reportGenerator) { }
public CompoundProcessMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository) { _markdownBuilderRepository = markdownBuilderRepository; }
public ProtocolMarkdownBuilder(IMarkdownBuilderRepository markdownBuilderRepository, IReportGenerator reportGenerator) : base(markdownBuilderRepository, reportGenerator) { }