示例#1
0
        public void ByReleaseDate_WhenCalled_ReturnReleaseDateAsContent()
        {
            const int        year             = 2000;
            const int        month            = 1;
            MoviesController moviesController = new MoviesController();

            ContentResult result = moviesController.ByReleaseDate(year, month) as ContentResult;

            Assert.AreEqual(result.Content, (year + "/" + month));
        }