public SourceMovieServiceTests() { _httpHandler = A.Fake <IHttpHandler>(); _sources = new MovieSources { Sources = new List <string>() { "http://www.omdbapi.com/?i=tt3896198&apikey=e3ec1445&t={0}" } }; _sourceMovieService = new SourceMovieService(_httpHandler, _sources); }
public SourceMovieService(IHttpHandler httpHandler, IMovieSources sources) { _httpHandler = httpHandler; _sources = sources; }