public UnitHistoryControllerTests() { mockHistoryRepo = new Mock <IRepository <HistoryRecord> >(); mockUnitOfWork = new Mock <IUnitOfWork>(); controller = new WeatherHistoryController(mockUnitOfWork.Object); }
public void Setup() { _weatherHistoryServiceMock = new Mock <IWeatherHistoryService>(); _weatherController = new WeatherHistoryController(_weatherHistoryServiceMock.Object); }