public void ForecastTimeSelectedEnumTest() { _presenterMock.Setup(f => f.ForecastTimeState(It.IsAny <EState>())); _interactor.ForecastTimeSelected(It.IsAny <EForecastTime>()); _presenterMock.Verify(f => f.ForecastTimeState(It.IsAny <EState>()), Times.Once); }
public void ForecastTimeSelectedStringFailTest(string time) { _presenterMock.Setup(f => f.ForecastTimeState(EState.Fail)); _interactor.ForecastTimeSelected(time); _presenterMock.Verify(f => f.ForecastTimeState(EState.Fail)); }
public void ForecastTimeSelected(EForecastTime timePeriod) { _interactor.ForecastTimeSelected(timePeriod); }