Esempio n. 1
0
        public void FetchMovies()
        {
            var actionResult  = movieController.FetchMovies();
            var contentResult = actionResult as OkNegotiatedContentResult <Movie[]>;

            Assert.IsNotNull(contentResult);
            Assert.IsNotNull(contentResult.Content);
            Assert.AreEqual(contentResult.Content, movies);
        }