Possibility to mock the request class.