Add ability to set routes for different request methods

I would suggest to use `setRequest` instead of mocking `getRequest`.