public void OnePageScrapeTest() { int numberOfRequestedPosts = 1; ILauncher start = new FakeLauncher(); start.initialize(); Assert.AreEqual(start.GetPosts(numberOfRequestedPosts).Count, numberOfRequestedPosts); }
public void ThreePageScrapeTest() { int numberOfRequestedPosts = 70; numberOfPagesToScrape = calculatePages(numberOfRequestedPosts); List <PostResponseModel> postsList = new List <PostResponseModel>(); ILauncher start = new FakeLauncher(); start.initialize(); Assert.AreEqual(start.GetPosts(numberOfRequestedPosts).Count, numberOfRequestedPosts); }