refactor: ♻️ refactor problem details exception handler #244
7 fail, 22 pass in 21m 38s
29 tests 22 ✅ 21m 38s ⏱️
6 suites 0 💤
6 files 7 ❌
Results for commit f3922be.
Annotations
github-actions / Test Results
should save mongo customer read model in internal persistence message after consuming message (FoodDelivery.Services.Customers.IntegrationTests.Users.Features.RegisteringUser.v1.Events.External.UserRegisteredTests) failed
tests/Services/Customers/FoodDelivery.Services.Customers.IntegrationTests/TestResults/test-results.trx [took 5m 4s]
Raw output
System.AggregateException : One or more errors occurred. (Condition not met for the test in the 'True' second.) (A task was canceled.)
---- System.TimeoutException : Condition not met for the test in the 'True' second.
---- System.Threading.Tasks.TaskCanceledException : A task was canceled.
----- Inner Stack Trace #1 (System.TimeoutException) -----
at Tests.Shared.Fixtures.SharedFixture`1.WaitUntilConditionMet(Func`1 conditionToMet, Nullable`1 timeoutSecond, String exception) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/Fixtures/SharedFixture.cs:line 422
at Tests.Shared.Fixtures.SharedFixture`1.ShouldProcessedPersistInternalCommand[TInternalCommand](CancellationToken cancellationToken) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/Fixtures/SharedFixture.cs:line 622
at FoodDelivery.Services.Customers.IntegrationTests.Users.Features.RegisteringUser.v1.Events.External.UserRegisteredTests.should_save_mongo_customer_read_model_in_internal_persistence_message_after_consuming_message() in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Services/Customers/FoodDelivery.Services.Customers.IntegrationTests/Users/Features/RegisteringUser/v1/Events/External/UserRegisteredTests.cs:line 97
--- End of stack trace from previous location ---
----- Inner Stack Trace #2 (System.Threading.Tasks.TaskCanceledException) -----
at Tests.Shared.Fixtures.RabbitMQContainerFixture.CleanupQueuesAsync(CancellationToken cancellationToken) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/Fixtures/RabbitMQContainerFixture.cs:line 62
at Tests.Shared.Fixtures.SharedFixture`1.CleanupMessaging(CancellationToken cancellationToken) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/Fixtures/SharedFixture.cs:line 242
at Tests.Shared.TestBase.IntegrationTest`1.DisposeAsync() in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/TestBase/IntegrationTestBase.cs:line 56
github-actions / Test Results
should create new customer in postgres write db when after consuming message (FoodDelivery.Services.Customers.IntegrationTests.Users.Features.RegisteringUser.v1.Events.External.UserRegisteredTests) failed
tests/Services/Customers/FoodDelivery.Services.Customers.IntegrationTests/TestResults/test-results.trx [took 5m 0s]
Raw output
System.AggregateException : One or more errors occurred. (Condition not met for the test in the 'True' second.) (A task was canceled.)
---- System.TimeoutException : Condition not met for the test in the 'True' second.
---- System.Threading.Tasks.TaskCanceledException : A task was canceled.
----- Inner Stack Trace #1 (System.TimeoutException) -----
at Tests.Shared.Fixtures.SharedFixture`1.WaitUntilConditionMet(Func`1 conditionToMet, Nullable`1 timeoutSecond, String exception) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/Fixtures/SharedFixture.cs:line 422
at FoodDelivery.Services.Customers.IntegrationTests.Users.Features.RegisteringUser.v1.Events.External.UserRegisteredTests.should_create_new_customer_in_postgres_write_db_when_after_consuming_message() in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Services/Customers/FoodDelivery.Services.Customers.IntegrationTests/Users/Features/RegisteringUser/v1/Events/External/UserRegisteredTests.cs:line 76
--- End of stack trace from previous location ---
----- Inner Stack Trace #2 (System.Threading.Tasks.TaskCanceledException) -----
at Tests.Shared.Fixtures.RabbitMQContainerFixture.CleanupQueuesAsync(CancellationToken cancellationToken) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/Fixtures/RabbitMQContainerFixture.cs:line 62
at Tests.Shared.Fixtures.SharedFixture`1.CleanupMessaging(CancellationToken cancellationToken) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/Fixtures/SharedFixture.cs:line 242
at Tests.Shared.TestBase.IntegrationTest`1.DisposeAsync() in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/TestBase/IntegrationTestBase.cs:line 56
github-actions / Test Results
should create new mongo customer read model in the mongodb after consuming message (FoodDelivery.Services.Customers.IntegrationTests.Users.Features.RegisteringUser.v1.Events.External.UserRegisteredTests) failed
tests/Services/Customers/FoodDelivery.Services.Customers.IntegrationTests/TestResults/test-results.trx [took 5m 0s]
Raw output
System.AggregateException : One or more errors occurred. (Condition not met for the test in the 'True' second.) (A task was canceled.)
---- System.TimeoutException : Condition not met for the test in the 'True' second.
---- System.Threading.Tasks.TaskCanceledException : A task was canceled.
----- Inner Stack Trace #1 (System.TimeoutException) -----
at Tests.Shared.Fixtures.SharedFixture`1.WaitUntilConditionMet(Func`1 conditionToMet, Nullable`1 timeoutSecond, String exception) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/Fixtures/SharedFixture.cs:line 422
at FoodDelivery.Services.Customers.IntegrationTests.Users.Features.RegisteringUser.v1.Events.External.UserRegisteredTests.should_create_new_mongo_customer_read_model_in_the_mongodb_after_consuming_message() in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Services/Customers/FoodDelivery.Services.Customers.IntegrationTests/Users/Features/RegisteringUser/v1/Events/External/UserRegisteredTests.cs:line 108
--- End of stack trace from previous location ---
----- Inner Stack Trace #2 (System.Threading.Tasks.TaskCanceledException) -----
at Tests.Shared.Fixtures.RabbitMQContainerFixture.CleanupQueuesAsync(CancellationToken cancellationToken) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/Fixtures/RabbitMQContainerFixture.cs:line 62
at Tests.Shared.Fixtures.SharedFixture`1.CleanupMessaging(CancellationToken cancellationToken) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/Fixtures/SharedFixture.cs:line 242
at Tests.Shared.TestBase.IntegrationTest`1.DisposeAsync() in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/TestBase/IntegrationTestBase.cs:line 56
github-actions / Test Results
should save customer created integration event in the outbox after consuming message (FoodDelivery.Services.Customers.IntegrationTests.Users.Features.RegisteringUser.v1.Events.External.UserRegisteredTests) failed
tests/Services/Customers/FoodDelivery.Services.Customers.IntegrationTests/TestResults/test-results.trx [took 5m 0s]
Raw output
System.AggregateException : One or more errors occurred. (Condition not met for the test in the 'True' second.) (A task was canceled.)
---- System.TimeoutException : Condition not met for the test in the 'True' second.
---- System.Threading.Tasks.TaskCanceledException : A task was canceled.
----- Inner Stack Trace #1 (System.TimeoutException) -----
at Tests.Shared.Fixtures.SharedFixture`1.WaitUntilConditionMet(Func`1 conditionToMet, Nullable`1 timeoutSecond, String exception) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/Fixtures/SharedFixture.cs:line 422
at Tests.Shared.Fixtures.SharedFixture`1.ShouldProcessedOutboxPersistMessage[TMessage](CancellationToken cancellationToken) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/Fixtures/SharedFixture.cs:line 594
at FoodDelivery.Services.Customers.IntegrationTests.Users.Features.RegisteringUser.v1.Events.External.UserRegisteredTests.should_save_customer_created_integration_event_in_the_outbox_after_consuming_message() in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Services/Customers/FoodDelivery.Services.Customers.IntegrationTests/Users/Features/RegisteringUser/v1/Events/External/UserRegisteredTests.cs:line 129
--- End of stack trace from previous location ---
----- Inner Stack Trace #2 (System.Threading.Tasks.TaskCanceledException) -----
at Tests.Shared.Fixtures.RabbitMQContainerFixture.CleanupQueuesAsync(CancellationToken cancellationToken) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/Fixtures/RabbitMQContainerFixture.cs:line 62
at Tests.Shared.Fixtures.SharedFixture`1.CleanupMessaging(CancellationToken cancellationToken) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/Fixtures/SharedFixture.cs:line 242
at Tests.Shared.TestBase.IntegrationTest`1.DisposeAsync() in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Shared/Tests.Shared/TestBase/IntegrationTestBase.cs:line 56
github-actions / Test Results
must returns bad request status code with invalid (FoodDelivery.Services.Customers.EndToEndTests.Customers.Features.GettingCustomerById.v1.GetCustomerByIdTests) failed
tests/Services/Customers/FoodDelivery.Services.Customers.EndToEndTests/TestResults/test-results.trx [took 0s]
Raw output
Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException : Expected response to satisfy one or more model assertions, but it wasn't:
- expected pr.Title to be "ValidationException" with a length of 19, but "Validation Exception" has a length of 20, differs near " Ex" (index 10).
- expected pr.Type to be "https://tools.ietf.org/html/rfc7231#section-6.5.1" with a length of 49, but "https://tools.ietf.org/html/rfc9110#section-15.5.1" has a length of 50, differs near "911" (index 31).
The HTTP response was:
HTTP/1.1 400 BadRequest
api-supported-versions: 1.0
Content-Type: application/problem+json
Content-Length: 1068
{
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1",
"title": "Validation Exception",
"status": 400,
"detail": "\u0027Id\u0027 must not be empty.",
"instance": "GET /api/v1/customers/00000000-0000-0000-0000-000000000000",
"exception": {
"details": "BuildingBlocks.Core.Exception.Types.ValidationException",
"headers": {
"Accept": [
"application/json"
],
"Authorization": [
"FakeBearer eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjQwNzNmMGYwLTg1NWEtNDhlNi05MTY4LWQ0ZTIwZjFkMjgzOSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJtZWhkaSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2VtYWlsYWRkcmVzcyI6Im1laGRpQHRlc3QuY29tIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiYWRtaW4iLCJleHAiOjE3MjY1NzE0NzJ9."
],
"Host": [
"localhost"
]
},
"path": "/api/v1/customers/00000000-0000-0000-0000-000000000000",
"endpoint": "Get customer by id",
"routeValues": {
"id": "00000000-0000-0000-0000-000000000000",
"version": "1"
}
}
}
The originating HTTP request was:
GET http://localhost/api/v1/customers/00000000-0000-0000-0000-000000000000 HTTP 1.1
Accept: application/json
Authorization: FakeBearer eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjQwNzNmMGYwLTg1NWEtNDhlNi05MTY4LWQ0ZTIwZjFkMjgzOSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJtZWhkaSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2VtYWlsYWRkcmVzcyI6Im1laGRpQHRlc3QuY29tIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiYWRtaW4iLCJleHAiOjE3MjY1NzE0NzJ9.
Content-Length: 0
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Web.HttpResponseMessageAssertions.Satisfy[TModel](Action`1 assertion, String because, Object[] becauseArgs)
at FluentAssertions.SatisfyModelAssertionsExtensions.Satisfy[TModel](HttpResponseMessageAssertions`1 parent, Action`1 assertion, String because, Object[] becauseArgs)
at FoodDelivery.Services.Customers.EndToEndTests.Customers.Features.GettingCustomerById.v1.GetCustomerByIdTests.must_returns_bad_request_status_code_with_invalid() in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Services/Customers/FoodDelivery.Services.Customers.EndToEndTests/Customers/Features/GettingCustomerById/v1/GetCustomerByIdTests.cs:line 140
--- End of stack trace from previous location ---
github-actions / Test Results
can returns valid response using valid id and auth credentials (FoodDelivery.Services.Customers.EndToEndTests.Customers.Features.GettingCustomerById.v1.GetCustomerByIdTests) failed
tests/Services/Customers/FoodDelivery.Services.Customers.EndToEndTests/TestResults/test-results.trx [took 0s]
Raw output
Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException : Expected response to satisfy one or more model assertions, but it wasn't:
- expectation has property x.Customer.FirstName that the other object does not have.
- expectation has property x.Customer.LastName that the other object does not have.
- expectation has property x.Customer.FullName that the other object does not have.
- expectation has property x.Customer.Created that the other object does not have.
The HTTP response was:
HTTP/1.1 200 OK
api-supported-versions: 1.0
Content-Type: application/json; charset=utf-8
Content-Length: 444
{
"customer": {
"id": "83f424b9-ca9b-2e40-0412-eb10172fce09",
"customerId": 1,
"identityId": "4ed6ab79-e009-c8d4-5c61-dcff9fef0c10",
"email": "Dangelo.Schimmel@gmail.com",
"name": "Libbie Haag",
"country": "Palestinian Territory",
"city": "Lake Fermin",
"detailAddress": "29123 Thelma Mountains, Walkerfurt, United Kingdom",
"nationality": "connecting",
"birthDate": "2024-09-10T11:11:12.637\u002B00:00",
"phoneNumber": "(\u002B10)6990745865",
"createdAt": "0001-01-01T00:00:00"
}
}
The originating HTTP request was:
GET http://localhost/api/v1/customers/83f424b9-ca9b-2e40-0412-eb10172fce09 HTTP 1.1
Accept: application/json
Authorization: FakeBearer eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjUwNzNmMGYwLTg1NWEtNDhlNi05MTY4LWQ0ZTIwZjFkMjg0MCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJtZWhkaTIiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9lbWFpbGFkZHJlc3MiOiJtZWhkaTJAdGVzdC5jb20iLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiJ1c2VyIiwiZXhwIjoxNzI2NTcxNDcyfQ.
Content-Length: 0
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Web.HttpResponseMessageAssertions.Satisfy[TModel](Action`1 assertion, String because, Object[] becauseArgs)
at FluentAssertions.SatisfyModelAssertionsExtensions.Satisfy[TModel](HttpResponseMessageAssertions`1 parent, Action`1 assertion, String because, Object[] becauseArgs)
at FoodDelivery.Services.Customers.EndToEndTests.Customers.Features.GettingCustomerById.v1.GetCustomerByIdTests.can_returns_valid_response_using_valid_id_and_auth_credentials() in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Services/Customers/FoodDelivery.Services.Customers.EndToEndTests/Customers/Features/GettingCustomerById/v1/GetCustomerByIdTests.cs:line 57
--- End of stack trace from previous location ---
github-actions / Test Results
must returns not found status code when customer not exists (FoodDelivery.Services.Customers.EndToEndTests.Customers.Features.GettingCustomerById.v1.GetCustomerByIdTests) failed
tests/Services/Customers/FoodDelivery.Services.Customers.EndToEndTests/TestResults/test-results.trx [took 0s]
Raw output
Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException : Expected response to satisfy one or more model assertions, but it wasn't:
- expected pr.Title to be "CustomerNotFoundException" with a length of 25, but "Customer Not Found Exception" has a length of 28, differs near " No" (index 8).
- expected pr.Type to be "https://tools.ietf.org/html/rfc7231#section-6.5.4" with a length of 49, but "https://tools.ietf.org/html/rfc9110#section-15.5.5" has a length of 50, differs near "911" (index 31).
The HTTP response was:
HTTP/1.1 404 NotFound
api-supported-versions: 1.0
Content-Type: application/problem+json
Content-Length: 1154
{
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.5",
"title": "Customer Not Found Exception",
"status": 404,
"detail": "Customer with id \u0027a99cc8b1-ebb3-4591-ac7a-09b9e01b2781\u0027 not found.",
"instance": "GET /api/v1/customers/a99cc8b1-ebb3-4591-ac7a-09b9e01b2781",
"exception": {
"details": "FoodDelivery.Services.Customers.Customers.Exceptions.Application.CustomerNotFoundException",
"headers": {
"Accept": [
"application/json"
],
"Authorization": [
"FakeBearer eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjQwNzNmMGYwLTg1NWEtNDhlNi05MTY4LWQ0ZTIwZjFkMjgzOSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJtZWhkaSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2VtYWlsYWRkcmVzcyI6Im1laGRpQHRlc3QuY29tIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiYWRtaW4iLCJleHAiOjE3MjY1NzE0NzJ9."
],
"Host": [
"localhost"
]
},
"path": "/api/v1/customers/a99cc8b1-ebb3-4591-ac7a-09b9e01b2781",
"endpoint": "Get customer by id",
"routeValues": {
"id": "a99cc8b1-ebb3-4591-ac7a-09b9e01b2781",
"version": "1"
}
}
}
The originating HTTP request was:
GET http://localhost/api/v1/customers/a99cc8b1-ebb3-4591-ac7a-09b9e01b2781 HTTP 1.1
Accept: application/json
Authorization: FakeBearer eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjQwNzNmMGYwLTg1NWEtNDhlNi05MTY4LWQ0ZTIwZjFkMjgzOSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJtZWhkaSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2VtYWlsYWRkcmVzcyI6Im1laGRpQHRlc3QuY29tIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiYWRtaW4iLCJleHAiOjE3MjY1NzE0NzJ9.
Content-Length: 0
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Web.HttpResponseMessageAssertions.Satisfy[TModel](Action`1 assertion, String because, Object[] becauseArgs)
at FluentAssertions.SatisfyModelAssertionsExtensions.Satisfy[TModel](HttpResponseMessageAssertions`1 parent, Action`1 assertion, String because, Object[] becauseArgs)
at FoodDelivery.Services.Customers.EndToEndTests.Customers.Features.GettingCustomerById.v1.GetCustomerByIdTests.must_returns_not_found_status_code_when_customer_not_exists() in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Services/Customers/FoodDelivery.Services.Customers.EndToEndTests/Customers/Features/GettingCustomerById/v1/GetCustomerByIdTests.cs:line 108
--- End of stack trace from previous location ---