public void Index()
        {
            HotelsTypesController controller = new HotelsTypesController();
            ViewResult            result     = controller.Index(1) as ViewResult;

            Assert.IsNotNull(result);
        }
        public void IndexViewModelNotNull()
        {
            var        mockRepository = new Mock <IRepository <HotelsType> >();
            var        controller     = new HotelsTypesController(mockRepository.Object);
            ViewResult actionResult   = controller.Index(1) as ViewResult;

            Assert.IsNotNull(actionResult.Model);
        }