public void Setup()
        {
            settings = new Settings();

            coverageFileReader = Substitute.For<CoverageFileReader>();

            reportController = new ReportController(settings, coverageFileReader);
        }
Пример #2
0
 public ReportController(Settings settings, CoverageFileReader coverageFileReader)
 {
     this.settings = settings;
     this.coverageFileReader = coverageFileReader;
 }
 public void Setup()
 {
     coverageFileReader = new CoverageFileReader();
 }