public void Index()
        {
            RestauranteController controller = new RestauranteController(GetRestauranteService());

            ViewResult result = controller.Index() as ViewResult;

            Assert.IsNotNull(result);
        }
        public void GetRestaurantes()
        {
            RestauranteController controller = new RestauranteController(GetRestauranteService());

            ViewResult result = controller.Index() as ViewResult;

            var votarVm = (VotarViewModel)result.Model;

            Assert.IsTrue(votarVm.RestaurantesViewModel.Restaurantes.Any());
        }