Beispiel #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;
 }
Beispiel #2
0
 public ImdbService(IImdbClient imdbClient)
 {
     this._imdbClient = imdbClient;
 }
Beispiel #3
0
 public SeasonCheckerBuilder WithImdbClient(IImdbClient client)
 {
     _client = client;
     return(this);
 }