public async Task DeveFazerEmprestimo() { var livro = await _livroService.FindByTitulo(new LivroPesquisa("O Retorno do Rei", 0), new PaginacaoParametroDto()); var cliente = await _clienteService.GetAll(); var emprestimo = new Emprestimo(); emprestimo.AdicionarLivroEmprestimo(cliente.LastOrDefault(), livro); await _emprestimoService.Save(emprestimo); var result = await _unitOfWork.Commit(); Assert.NotEqual(0, result); }