public void ObterVeiculoPeloChassi() { var chassi = "123"; var result = _serviceMemory.ObterPorChassi(chassi).Result; var operacaoIsValid = OperacaoValida(); Assert.NotNull(result); Assert.True(operacaoIsValid); Assert.Equal(chassi, result.Chassi); }
public async Task <ActionResult <VeiculoDetalheDto> > ObterPorChassi(string chassi) { return(CustomResponse(await _veiculoService.ObterPorChassi(chassi))); }