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

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

            Assert.IsNotNull(actionResult.Model);
        }