public void TestMethod1() { DataFetcher df = new DataFetcher(); var taskResult = df.getTVServices(); taskResult.Wait(); TVServiceCollection result = taskResult.Result; Assert.IsNotNull(result); }
/// <summary> /// Initializes the singleton application object. This is the first line of authored code /// executed, and as such is the logical equivalent of main() or WinMain(). /// </summary> public App() { this.InitializeComponent(); this.Suspending += OnSuspending; DataFetcher df = new DataFetcher(); List<SeriesSummary> listOfSeries = df.searchSeries("The Office").Result; Series full = df.convertToFullSeries(listOfSeries[0]).Result; int bint = 5; }