Using requests_mock I can check if it was called with call_count attribute like in the example below:
def test_foo(
self,
response,
mock_service,
):
assert mock_service.call_count == 1
But now I'm using httpx library. How I can check the same in it?