refactoring request mock