Ejemplo n.º 1
0
        public void Inserir()
        {
            RepositoryEntityCarro rep = new RepositoryEntityCarro();
            CARRO carro = new CARRO();

            carro.Ano   = "2017";
            carro.Cor   = "Cor";
            carro.PLACA = "Placa";
            carro.Nome  = "Nome";

            var carroDb = rep.Get(carro.ID);

            Assert.IsNotNull(carroDb, "ok");
        }
Ejemplo n.º 2
0
        public void TesteBuscarTodos()
        {
            RepositoryEntityCarro rep = new RepositoryEntityCarro();

            Assert.IsNotNull(rep.All(), "ok");
        }