public void ActionIndexRetorno() { //Assert.Throws<EqualException>(() => //{ //}); //dbcontext = new ApplicationContext(); //context = new EmpresaRepositorio(dbcontext); //empresa = new EmpresaController(context); var index = empresa.Index() as List <Empresa>; Assert.Equal(result, index); }