public void TestFindMovieByID() { MovieFinderController mfc = new MovieFinderController(); string response = mfc.FindMovie(i: "tt3896198"); Assert.IsTrue(response.Contains("Guardians of the Galaxy")); }
public void TestFindMovieByTitle() { MovieFinderController mfc = new MovieFinderController(); string response = mfc.FindMovie(t: "Batman"); Assert.IsTrue(response.Contains("Batman")); }
public void TestFindMovieByTitleWithCache() { MovieFinderController mfc = new MovieFinderController(); string response = mfc.FindMovie(t: "baby%20driver"); response = mfc.FindMovie(t: "baby%20driver"); Assert.IsTrue(response.Contains("Baby Driver")); }