public GetIntelligentBillboardHandlerShould() { _proxy = Substitute.For <ITheMovieDbProxy>(); _repository = Substitute.For <IBeezyCinemaRepository>(); _proxy.GetMovies().Returns(ProxyMoviesSeed().SomeNotNull()); _repository.GetMovies(Arg.Any <string>()).Returns(ProxyMoviesSeed().SomeNotNull()); _dateService = Substitute.For <IDateService>(); _dateService.Now().Returns(new DateTime(2020, 04, 22)); }
public GetIntelligentBillboardHandler(ITheMovieDbProxy proxy, IBeezyCinemaRepository repository, IDateService dateService) { _proxy = proxy; _repository = repository; _dateService = dateService; }