Exemplo n.º 1
0
 public SeasonCheckerBuilder()
 {
     _client                  = new Mock <IImdbClient>().Object;
     _htmlParserStrategy      = new Mock <IHtmlParserStrategyFactory>().Object;
     _cacheTvShowIds          = new Mock <IPersistantCache <string> >().Object;
     _cacheIgnoredTvShows     = new Mock <IPersistantCache <string> >().Object;
     _cacheLatestAiredSeasons = new Mock <IPersistantCache <int> >().Object;
     _dateTimeProvider        = new Mock <IDateTimeProvider>().Object;
 }
Exemplo n.º 2
0
 public ImdbService(IImdbClient imdbClient)
 {
     this._imdbClient = imdbClient;
 }
Exemplo n.º 3
0
 public SeasonCheckerBuilder WithImdbClient(IImdbClient client)
 {
     _client = client;
     return(this);
 }