Example #1
0
        public void DirectorReturnsSomething()
        {
            _directorController = new DirectorsController(_directorRepository);

            var value = _directorController.Index() as ViewResult;

            Assert.IsNotNull(value);
        }
Example #2
0
        public void Director()
        {
            //arrange
            DirectorsController controller = new DirectorsController();

            //act
            ViewResult result = controller.Index() as ViewResult;

            //assert
            Assert.IsNotNull(result);
        }