private void Init(JobDataMap jobDataMap) { this.Store = MvcApplication.Store; this.Session = this.Store.OpenSession(); this.Library = new Library(this.Session); this.TorrentProvider = new OmgTorrentProvider(); }
public void ShouldFindEpisodeForCalifornication() { var provider = new OmgTorrentProvider(); var results = provider.Search("Californication"); Assert.NotNull(results); Assert.NotEmpty(results); }
public SearchController(OmgTorrentProvider searchProvider) { this.SearchProvider = searchProvider; }