Hello, I'm not able to make the mock when the query string is about odata. For example:
_mockHttp.When(matching => matching
.RequestUri("*/Invoices")
.QueryString($"?$filter=(NumAtCard eq '{validNumAtCard}')")
.Method(HttpMethod.Get)
.WithoutContent()
)
.Respond(HttpStatusCode.OK, JsonSerializer.Serialize(new SapQueryResult<InvoiceDataModel>
{
Value = new[]
{
expectedInvoice
}
}), "application/json")
.Verifiable();
Hello, I'm not able to make the mock when the query string is about odata. For example: