public void Index()
        {
            VotarController controller = new VotarController(GetService <IUsuarioServices>(), GetService <IVotacaoServices>(), GetService <IRestauranteServices>());

            ViewResult result = controller.Index() as ViewResult;

            Assert.IsNotNull(result);
        }
        public void GetVotosIndex()
        {
            VotarController controller = new VotarController(GetService <IUsuarioServices>(), GetService <IVotacaoServices>(), GetService <IRestauranteServices>());

            ViewResult result = controller.Index() as ViewResult;

            var votarVm = (VotarViewModel)result.Model;

            Assert.IsTrue(votarVm.ResultadoVotacaoDataItem.Any());
        }