public void CheckIfMoviesExistInStaticList()
        {
            var client    = new LocalStaticClient(Mother.MovieListingSample1);
            var movieList = client.GetMovieList();

            Assert.IsTrue(movieList.Count > 0, "No movies found in retrieved list");
        }
        public void EmptyList6_NullReturn()
        {
            var client = new LocalStaticClient(string.Empty);
            var movieListingService = new MovieListingService(client);
            var sortedList          = movieListingService.GetSortedList();

            Assert.IsNull(sortedList, "Empty list should be null");
        }
        private void CheckItem(string sampleList, string firstActorName, string firstCharacterName, string firstMovieName)
        {
            var client = new LocalStaticClient(sampleList);
            var movieListingService = new MovieListingService(client);
            var sortedList          = movieListingService.GetSortedList();
            var firstActor          = sortedList.ToList().FirstOrDefault();

            Assert.IsNotNull(firstActor, "The first actor should not be null");

            var firstCharacter = firstActor.Characters.FirstOrDefault();

            Assert.IsNotNull(firstCharacter, "The first character should not be null");

            Assert.AreEqual(firstCharacterName, firstCharacter.Name, "The first character does not match.");
            Assert.AreEqual(firstActorName, firstActor.ActorName, "The first actor does not match.");
            Assert.AreEqual(firstMovieName, firstCharacter.Movie, "The first movie does not match.");
        }