public void TipoDeVeiculoRepositoryEF_InsertAndGetById() { rep.Insert(new TipoDeVeiculo() { Id = idSuv, Tipo = "SUV" }); var i = rep.Save(); Assert.IsTrue(i > 0); rep.Insert(new TipoDeVeiculo() { Id = idHatch, Tipo = "Hatch" }); i = rep.Save(); Assert.IsTrue(i > 0); var hatch = rep.Get(idHatch); var suv = rep.Get(idSuv); Assert.IsNotNull(hatch); Assert.IsNotNull(suv); }