예제 #1
0
        public void Conta_repositorio_deletar_deve_funcionar()
        {
            var contaRemovida = _contaRepositorio.Deletar(_contaSeed.Id);

            contaRemovida.Should().BeTrue();
            _contexto.Contas.Where(p => p.Id == _contaSeed.Id).FirstOrDefault().Should().BeNull();
        }