Exemple #1
0
        public void IndexLoadsView()
        {
            // arrange - now moved to TestInitialize for code re-use
            // SportsController controller = new SportsController();

            // act
            var result = controller.Index();

            // assert
            Assert.IsNotNull(result);
        }
        public void Index_ShowCorrectView()
        {
            var result = Controller.Index(null);

            //implement
            Assert.Null(result);
        }