public void GetPrice_InputValid_ReturnQuote() { var request = new PriceRequest { Item = new QuoteDto() }; var quoteDtoResp = new QuoteDto(); _productServiceMock.Setup(x => x.GetQuote(request.Item)).ReturnsAsync(quoteDtoResp); var result = _routesController.GetPrice(request).Result as ObjectResult; Assert.AreEqual(result?.StatusCode, (int)HttpStatusCode.OK); }