public void TestCleanup() { _provider.SearchCompleted -= OnSearchCompleted; _provider = null; _searchArgs = null; _extendedSearchArgs = null; }
public void TestInitialize() { _provider = new PirateBayProvider(); _provider.SearchCompleted += new EventHandler <SearchEventArgs>(OnSearchCompleted); _provider.ExtendedSearchCompleted += new EventHandler <ExtendedSearchEventArgs>(OnExtendedSearchCompleted); }