public void DisposeTest() { using (var dataAccess = Substitute.For <IDataAccess>()) { using (var statisticsController = new StatisticsController(dataAccess)) { statisticsController.Dispose(); } } }
public void DisposeTest() { using (var dataAccess = Substitute.For <IDataAccess>()) { using (var statisticsController = new StatisticsController(dataAccess)) { statisticsController.Dispose(); } } }