コード例 #1
0
ファイル: UnitTest1.cs プロジェクト: JFFby/git-stats
        public void TestInitialize()
        {
            reportBuilder    = new Mock <IReportBuilder>();
            statisticStorage = new Mock <IStatisticStorage>();
            fixture          = new Fixture();

            betweenService = new BetweenService(reportBuilder.Object, statisticStorage.Object);
        }
コード例 #2
0
ファイル: GitStatsController.cs プロジェクト: JFFby/git-stats
 public GitStatsController(
     IGitStatisticService statisticService,
     IBetweenService betweenService,
     IMergeService mergeService,
     IDateDifService dateDifService)
 {
     this.statisticService = statisticService;
     this.betweenService   = betweenService;
     this.mergeService     = mergeService;
     this.dateDifService   = dateDifService;
 }