def METHOD_NAME(db, executor_name):
    user = users_crud.create_user(db, executor_name, users_models.Role.USER)
    def get_mock_own_user():
        return user
    app.dependency_overrides[
        users_injectables.get_own_user
    ] = get_mock_own_user
    yield user
    del app.dependency_overrides[users_injectables.get_own_user]