public StatisticsControllerUnitTests() { _roomRepository = Substitute.For <IRoomRepository>(); _chartGenerator = Substitute.For <IChartGenerator>(); }
public StatisticsController(IRoomRepository roomRepository, IChartGenerator chartGenerator) { _roomRepository = roomRepository; _chartGenerator = chartGenerator; }