✅ Help me with Test

I want to test RequestHandler (im using Mediator), but inside of that handler method I need to get user id from httpcontext. How can I test this handler? Should I somehow authorize or should I rewrite it?
Was this page helpful?