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