def METHOD_NAME(mocker):
    mocker.patch(
        target="openbb_terminal.keys_model.set_credential",
    )
    mocker.patch("openbb_terminal.keys_model.write_to_dotenv")
    mocker.patch(
        target="openbb_terminal.keys_model.get_current_user",
        return_value=UserModel(
            profile=ProfileModel(),
            credentials=CredentialsModel(),
            preferences=PreferencesModel(),
            sources=SourcesModel(),
        ),
    )