def METHOD_NAME(text: str) -> str:
    user_home_directory = str(HOME_DIRECTORY.as_posix())
    text_mocked = text.replace("\\\\", "/").replace(
        user_home_directory, "MOCKING_USER_PATH"
    )
    return text_mocked