public void PreencherTotaisPorFormaPagamentoServiceTest() { caixaDiaRepositoryMock.Setup(x => x.GetById(1)).Returns(_caixaDia); _appService.PreencherTotaisPorFormaPagamento(1); Assert.True(_caixaDia.TotalCartaoDebito == 20); Assert.True(_caixaDia.TotalDinheiro == 10); }
public CaixaDia PreencheTotaisPorFormaPagamento(int idCaixa) { return(_appService.PreencherTotaisPorFormaPagamento(idCaixa)); }