public void Exclui_valor()
        {
            var itemValor = repository.Delete(ItemValorStub.ItemValor());

            Assert.AreEqual(itemValor.SubValores.Sum(x => x.Valor), 100);
        }
 public ItemValor Delete(ItemValor entity)
 {
     return(_itemValorRepository.Delete(entity));
 }