Пример #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);
 }
Пример #2
0
 public void APICallerReplacesOriginalCharacterNamesWithMeerkats()
 {
     var apiCaller = new ApiCaller();
     Assert.That(apiCaller.GetOpeningCrawl().Contains("Meerkat"));
 }
Пример #3
0
 public void APICallerShouldGetOpeningCrawlFromFilmInfo()
 {
     var apiCaller = new ApiCaller();
     var openingCrawl = apiCaller.GetOpeningCrawl();
     Assert.That(openingCrawl.Length > 0);
 }
Пример #4
0
 public void APICallerShouldReturnText()
 {
     var apiCaller = new ApiCaller();
     var openingCreditsText = apiCaller.GetFilmInfo();
     Assert.That(openingCreditsText, Is.Not.Null);
 }