Esempio n. 1
0
 public void APICallerReturnsOpeningCrawlFromAnyOfThe7FilmsAtRandom()
 {
     var apiCaller = new ApiCaller();
     var openingCrawl = apiCaller.GetOpeningCrawl();
     var anotherOpeningCrawl = apiCaller.GetOpeningCrawl();
     var afurtherOpeningCrawl = apiCaller.GetOpeningCrawl();
     Assert.That(openingCrawl != anotherOpeningCrawl && openingCrawl != afurtherOpeningCrawl);
 }
Esempio n. 2
0
 public void APICallerReplacesOriginalCharacterNamesWithMeerkats()
 {
     var apiCaller = new ApiCaller();
     Assert.That(apiCaller.GetOpeningCrawl().Contains("Meerkat"));
 }
Esempio n. 3
0
 public void APICallerShouldGetOpeningCrawlFromFilmInfo()
 {
     var apiCaller = new ApiCaller();
     var openingCrawl = apiCaller.GetOpeningCrawl();
     Assert.That(openingCrawl.Length > 0);
 }
Esempio n. 4
0
 public void APICallerShouldReturnText()
 {
     var apiCaller = new ApiCaller();
     var openingCreditsText = apiCaller.GetFilmInfo();
     Assert.That(openingCreditsText, Is.Not.Null);
 }