def METHOD_NAME(mocker):
    mocker.patch(
        "openbb_terminal.stocks.fundamental_analysis.yahoo_finance_model.get_earnings_history",
        return_value=DataFrame(),
    )
    sdk_helpers.earnings("AAPL", source="YahooFinance", quarterly=True)