public virtual void before_each() { autoSubstitute = new AutoSubstitute(); progressRecorder = autoSubstitute.Resolve <IProgressRecorder>(); executedExampleMapper = autoSubstitute.Resolve <IExecutedExampleMapper>(); reporter = autoSubstitute.Resolve <ExecutionReporter>(); }
public ExecutionReporter(IProgressRecorder progressRecorder, IExecutedExampleMapper executedExampleMapper) { this.progressRecorder = progressRecorder; this.executedExampleMapper = executedExampleMapper; }