コード例 #1
0
 public StatisticsControllerUnitTests()
 {
     _roomRepository = Substitute.For <IRoomRepository>();
     _chartGenerator = Substitute.For <IChartGenerator>();
 }
コード例 #2
0
 public StatisticsController(IRoomRepository roomRepository, IChartGenerator chartGenerator)
 {
     _roomRepository = roomRepository;
     _chartGenerator = chartGenerator;
 }