Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void CreateShouldReturnVenda() { // Arrange var vendaDto = new VendaDto { IdVeiculo = 1, Valor = 300000.00, NomeComprador = "Comprador" }; var venda = new Venda(1, 300000.00, "Comprador"); // Act var result = repository.Create(vendaDto); // Assert result.Should().NotBeNull(); result.Should().Equals(venda); }