Example #1
0
        public void MoviesController_BadRequest_Test()
        {
            /// Arrange
            var controller = new MoviesController(_db);

            /// Act
            var result = controller.BadRequestTest();

            /// Assert
            var viewResult = Assert.IsType <BadRequestResult>(result);

            Assert.IsType <BadRequestResult>(viewResult);
        }